mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 07:06:26 +02:00
Fix few bad var
This commit is contained in:
parent
73b82296a7
commit
89cb3db678
7 changed files with 25 additions and 21 deletions
|
@ -166,8 +166,8 @@ class User extends \descartes\Controller
|
|||
return $this->redirect(\descartes\Router::url('User', 'add'));
|
||||
}
|
||||
|
||||
$user_id = $this->internal_user->create($email, $password, $admin, $status);
|
||||
if (!$user_id)
|
||||
$id_user = $this->internal_user->create($email, $password, $admin, $status);
|
||||
if (!$id_user)
|
||||
{
|
||||
\FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce user.');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue