Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r364 - registry/trunk/app/Controller

Subject: COmanage Developers List

List archive

[comanage-dev] r364 - registry/trunk/app/Controller


Chronological Thread 
  • 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();
+ }
}
}





Archive powered by MHonArc 2.6.16.

Top of Page