Skip to Content.
Sympa Menu

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

Subject: COmanage Developers List

List archive

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


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r674 - registry/trunk/app/Controller
  • Date: Sun, 2 Feb 2014 23:29:36 -0500

Author: benno
Date: 2014-02-02 23:29:36 -0500 (Sun, 02 Feb 2014)
New Revision: 674

Modified:
registry/trunk/app/Controller/AppController.php
Log:
Additional fix yor CO-792

Modified: registry/trunk/app/Controller/AppController.php
===================================================================
--- registry/trunk/app/Controller/AppController.php 2014-02-03 04:24:28
UTC (rev 673)
+++ registry/trunk/app/Controller/AppController.php 2014-02-03 04:29:36
UTC (rev 674)
@@ -1371,10 +1371,13 @@
// Only certain actions are permitted to explicitly provide a CO ID
if($this->action == 'index'
// Add and select operations only when attached directly to a CO
(otherwise we need
- // to pull the CO ID from the object being attached to, eg co
person)
+ // to pull the CO ID from the object being attached to, eg co
person).
||
(isset($model->Co)
- && ($this->action == 'select' || $this->action == 'add'))) {
+ && ($this->action == 'select' || $this->action == 'add'))
+ ||
+ // This should probably be pulled into a per-controller setting
+ ($req == 'CoGroupMember' && $this->action == 'update')) {
if(isset($this->params['named']['co'])) {
$coid = $this->params['named']['co'];
}



  • [comanage-dev] r674 - registry/trunk/app/Controller, svnlog, 02/02/2014

Archive powered by MHonArc 2.6.16.

Top of Page