Author: sevein
Date: Fri Jul 22 16:49:45 2011
New Revision: 9367

Log:
QubitRight in subject_id

Modified:
   trunk/apps/qubit/modules/right/actions/editComponent.class.php

Modified: trunk/apps/qubit/modules/right/actions/editComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/right/actions/editComponent.class.php      Fri Jul 
22 16:29:36 2011        (r9366)
+++ trunk/apps/qubit/modules/right/actions/editComponent.class.php      Fri Jul 
22 16:49:45 2011        (r9367)
@@ -122,7 +122,7 @@
         else
         {
           $this->relation = new QubitRelation;
-          $this->relation->subject = $this->resource;
+          $this->relation->subject = $this->right = new QubitRights;
           $this->relation->typeId = QubitTerm::RIGHT_ID;
 
           $this->resource->relationsRelatedByobjectId[] = $this->relation;

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to