Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r649 - registry/trunk/app/Model

Subject: COmanage Developers List

List archive

[comanage-dev] r649 - registry/trunk/app/Model


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r649 - registry/trunk/app/Model
  • Date: Wed, 25 Dec 2013 15:30:26 -0500

Author: benno
Date: 2013-12-25 15:30:26 -0500 (Wed, 25 Dec 2013)
New Revision: 649

Modified:
registry/trunk/app/Model/CoGroupMember.php
Log:
Fix bug where only one group member at a time was added via multiple selector
(CO-743)

Modified: registry/trunk/app/Model/CoGroupMember.php
===================================================================
--- registry/trunk/app/Model/CoGroupMember.php 2013-12-23 23:53:23 UTC (rev
648)
+++ registry/trunk/app/Model/CoGroupMember.php 2013-12-25 20:30:26 UTC (rev
649)
@@ -450,6 +450,8 @@
$cogm['CoGroupMember']['member'] = $member;
$cogm['CoGroupMember']['owner'] = $owner;

+ $this->create();
+
if(!$this->save($cogm)) {
throw new RuntimeException($this->validationErrors);
}
@@ -495,6 +497,8 @@
$cogm['CoGroupMember']['member'] = $member;
$cogm['CoGroupMember']['owner'] = $owner;

+ $this->create();
+
if(!$this->save($cogm)) {
throw new RuntimeException($this->validationErrors);
}



  • [comanage-dev] r649 - registry/trunk/app/Model, svnlog, 12/25/2013

Archive powered by MHonArc 2.6.16.

Top of Page