mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:20:11 +01:00
fixed a bug in the user add form
This commit is contained in:
parent
989f8c2211
commit
49cc33aa34
@ -44,6 +44,7 @@ class ControllerUserAdd extends Controller {
|
|||||||
|
|
||||||
if($ret == 1){
|
if($ret == 1){
|
||||||
$this->data['x'] = $this->data['text_successfully_added'];
|
$this->data['x'] = $this->data['text_successfully_added'];
|
||||||
|
$this->data['next_user_id'] = $this->model_user_user->get_next_uid();
|
||||||
} else {
|
} else {
|
||||||
$this->data['errorstring'] = $this->data['text_failed_to_add'] . ": " . $ret;
|
$this->data['errorstring'] = $this->data['text_failed_to_add'] . ": " . $ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user