Merge pull request #3743 from hregis/develop_origin
Fix: Parse error: syntax error, unexpected '}'
This commit is contained in:
commit
5db82b8869
@ -167,8 +167,7 @@ if (empty($reshook)) {
|
|||||||
$action = "create"; // Go back to create page
|
$action = "create"; // Go back to create page
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($conf->file->main_limit_users)) // If option to limit users is set
|
if (!empty($conf->file->main_limit_users)) { // If option to limit users is set
|
||||||
{
|
|
||||||
$nb = $object->getNbOfUsers("active");
|
$nb = $object->getNbOfUsers("active");
|
||||||
if ($nb >= $conf->file->main_limit_users) {
|
if ($nb >= $conf->file->main_limit_users) {
|
||||||
$error ++;
|
$error ++;
|
||||||
@ -251,7 +250,6 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
$action = "create"; // Go back to create page
|
$action = "create"; // Go back to create page
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -493,7 +491,6 @@ if (($action == 'addgroup' || $action == 'removegroup') && $caneditfield)
|
|||||||
setEventMessage($object->error, 'errors');
|
setEventMessage($object->error, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Change password with a new generated one
|
// Change password with a new generated one
|
||||||
if ((($action == 'confirm_password' && $confirm == 'yes')
|
if ((($action == 'confirm_password' && $confirm == 'yes')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user