comanage-dev - [comanage-dev] r364 - registry/trunk/app/Controller
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r364 - registry/trunk/app/Controller
- Date: Mon, 24 Sep 2012 02:33:39 -0400
Author: marie
Date: 2012-09-24 02:33:39 -0400 (Mon, 24 Sep 2012)
New Revision: 364
Modified:
registry/trunk/app/Controller/CoGroupMembersController.php
registry/trunk/app/Controller/StandardController.php
Log:
co459 Fixes problems with redirect upon delete for CoGroupMembers
Modified: registry/trunk/app/Controller/CoGroupMembersController.php
===================================================================
--- registry/trunk/app/Controller/CoGroupMembersController.php 2012-09-24
02:54:32 UTC (rev 363)
+++ registry/trunk/app/Controller/CoGroupMembersController.php 2012-09-24
06:33:39 UTC (rev 364)
@@ -287,8 +287,8 @@
if($this->action == 'add' &&
isset($this->request->data['CoGroupMember']['co_person_id']))
$cop = $this->request->data['CoGroupMember']['co_person_id'];
- elseif($this->action == 'delete' &&
isset($this->request->params['named']['copersonid']))
- $cop = $this->request->params['named']['copersonid'];
+ elseif($this->action == 'delete' &&
isset($this->request->params['named']['CoPersonid']))
+ $cop = $this->request->params['named']['CoPersonid'];
if(isset($cop))
{
Modified: registry/trunk/app/Controller/StandardController.php
===================================================================
--- registry/trunk/app/Controller/StandardController.php 2012-09-24
02:54:32 UTC (rev 363)
+++ registry/trunk/app/Controller/StandardController.php 2012-09-24
06:33:39 UTC (rev 364)
@@ -243,9 +243,13 @@
// Delete doesn't have a view, so we need to redirect back to index
regardless of success
if($this->requires_person)
+ {
$this->checkPersonID("force", $op);
+ }
else
+ {
$this->performRedirect();
+ }
}
}
- [comanage-dev] r364 - registry/trunk/app/Controller, svnlog, 09/24/2012
- Re: [comanage-dev] r364 - registry/trunk/app/Controller, Benn Oshrin, 09/26/2012
Archive powered by MHonArc 2.6.16.