This commit is contained in:
Roland Gruber 2020-06-15 20:20:35 +02:00
parent 3bd507a47d
commit 316c979ef2
1 changed files with 4 additions and 4 deletions

View File

@ -1006,12 +1006,12 @@ class posixGroup extends baseModule implements passwordService {
}
$added = array_delete($oldValues, $this->attributes['memberUid']);
if (!empty($added)) {
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode($added, ', ')));
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode(', ', $added)));
}
if ($delete) {
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
if (!empty($deleted)) {
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode($deleted, ', ')));
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode(', ', $deleted)));
}
}
return $return;
@ -1049,12 +1049,12 @@ class posixGroup extends baseModule implements passwordService {
}
$added = array_delete($oldValues, $this->attributes['memberUid']);
if (!empty($added)) {
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode($added, ', ')));
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode(', ', $added)));
}
if ($delete) {
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
if (!empty($deleted)) {
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode($deleted, ', ')));
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode(', ', $deleted)));
}
}
return $return;