Fix for previous

This commit is contained in:
Visman 2021-03-07 21:45:17 +07:00
parent b247dcaf49
commit 3866bafce5

View file

@ -244,7 +244,7 @@ class Model extends DataModel
return [];
}
if ('1' == $this->c->user->viewUsers) {
if ($this->c->user->viewUsers) {
foreach ($attr as $id => &$cur) {
$cur = [
'name' => $cur,