summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/controllers/GroupController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/dev/controllers/GroupController.php')
-rw-r--r--application/modules/dev/controllers/GroupController.php3
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()