diff options
| author | Björn Geiger | 2011-03-23 19:31:03 +0100 |
|---|---|---|
| committer | Björn Geiger | 2011-03-23 19:31:03 +0100 |
| commit | f581446f90526dd3466becddd625d23bd1c26ed4 (patch) | |
| tree | 22b5708100e6c71e7cbd3a567527dcfc013fca91 /application/modules/dev/controllers/GroupController.php | |
| parent | seriel liegt jetzt im root/ (diff) | |
| download | pbs2-f581446f90526dd3466becddd625d23bd1c26ed4.tar.gz pbs2-f581446f90526dd3466becddd625d23bd1c26ed4.tar.xz pbs2-f581446f90526dd3466becddd625d23bd1c26ed4.zip | |
Rollenverwaltung in Dev Modul
Diffstat (limited to 'application/modules/dev/controllers/GroupController.php')
| -rw-r--r-- | application/modules/dev/controllers/GroupController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/modules/dev/controllers/GroupController.php b/application/modules/dev/controllers/GroupController.php index c86e4fe..2770fd7 100644 --- a/application/modules/dev/controllers/GroupController.php +++ b/application/modules/dev/controllers/GroupController.php @@ -88,11 +88,11 @@ class dev_GroupController extends Zend_Controller_Action $editForm = new dev_Form_GroupEdit($_POST); if ($editForm->isValid($_POST)) { $group = new Application_Model_Group($_POST); + $group->setID($this->_request->getParam('groupID')); try { $this->groupMapper->save($group); } catch(Zend_Exception $e) { - echo "Email Address already existing."; echo "Caught exception: " . get_class($e) . "<br/>"; echo "Message: " . $e->getMessage() . "<br/>"; return; @@ -103,6 +103,7 @@ class dev_GroupController extends Zend_Controller_Action } $this->view->editForm = $editForm; + } public function showAction() |
