PHP 7.4
This commit is contained in:
parent
3bd507a47d
commit
316c979ef2
|
@ -1006,12 +1006,12 @@ class posixGroup extends baseModule implements passwordService {
|
||||||
}
|
}
|
||||||
$added = array_delete($oldValues, $this->attributes['memberUid']);
|
$added = array_delete($oldValues, $this->attributes['memberUid']);
|
||||||
if (!empty($added)) {
|
if (!empty($added)) {
|
||||||
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode($added, ', ')));
|
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode(', ', $added)));
|
||||||
}
|
}
|
||||||
if ($delete) {
|
if ($delete) {
|
||||||
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
|
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
|
||||||
if (!empty($deleted)) {
|
if (!empty($deleted)) {
|
||||||
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode($deleted, ', ')));
|
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode(', ', $deleted)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
|
@ -1049,12 +1049,12 @@ class posixGroup extends baseModule implements passwordService {
|
||||||
}
|
}
|
||||||
$added = array_delete($oldValues, $this->attributes['memberUid']);
|
$added = array_delete($oldValues, $this->attributes['memberUid']);
|
||||||
if (!empty($added)) {
|
if (!empty($added)) {
|
||||||
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode($added, ', ')));
|
$return[] = array('INFO', _('Added users'), htmlspecialchars(implode(', ', $added)));
|
||||||
}
|
}
|
||||||
if ($delete) {
|
if ($delete) {
|
||||||
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
|
$deleted = array_delete($this->attributes['memberUid'], $oldValues);
|
||||||
if (!empty($deleted)) {
|
if (!empty($deleted)) {
|
||||||
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode($deleted, ', ')));
|
$return[] = array('INFO', _('Removed users'), htmlspecialchars(implode(', ', $deleted)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
|
|
Loading…
Reference in New Issue