fixed a bug in the user add form

This commit is contained in:
SJ 2012-12-10 13:08:41 +01:00
parent 989f8c2211
commit 49cc33aa34

View File

@ -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;
} }