mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
minor webui fixes around the group handling
This commit is contained in:
@ -41,14 +41,10 @@ class ControllerGroupAdd extends Controller {
|
||||
|
||||
if($ret == 0) {
|
||||
|
||||
//$this->data['post'] = $this->request->post;
|
||||
//$this->data['next_group_id'] = $this->model_group_group->getNextUid();
|
||||
$this->data['post'] = $this->request->post;
|
||||
|
||||
}
|
||||
}
|
||||
else {
|
||||
//$this->data['next_group_id'] = $this->model_group_group->getNextUid();
|
||||
}
|
||||
}
|
||||
else {
|
||||
$this->template = "common/error.tpl";
|
||||
@ -68,6 +64,9 @@ class ControllerGroupAdd extends Controller {
|
||||
$this->error['group'] = $this->data['text_missing_data'];
|
||||
}
|
||||
|
||||
if(!isset($this->request->post['email']) || $this->request->post['email'] == '') {
|
||||
$this->error['email'] = $this->data['text_missing_data'];
|
||||
}
|
||||
|
||||
if (!$this->error) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user