mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:31:59 +01:00
Fixed parameter for gettings user group while editing
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c2be67aff0
commit
fe59b0519c
@ -79,7 +79,7 @@ class ControllerUserEdit extends Controller {
|
||||
|
||||
$this->data['emails'] = $this->model_user_user->get_emails($this->data['user']['username']);
|
||||
|
||||
$this->data['user']['group'] = $this->model_group_group->get_groups_by_email(array($this->data['emails']));
|
||||
$this->data['user']['group'] = $this->model_group_group->get_groups_by_email(explode("\n", $this->data['emails']));
|
||||
//}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user