Author: mcantelon
Date: Tue Jan  3 14:42:10 2012
New Revision: 10542

Log:
Fixed bug in createObjectTermRelation import class method.

Modified:
   trunk/lib/QubitFlatfileImport.class.php

Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php     Tue Jan  3 13:52:49 2012        
(r10541)
+++ trunk/lib/QubitFlatfileImport.class.php     Tue Jan  3 14:42:10 2012        
(r10542)
@@ -325,8 +325,8 @@
   public function createObjectTermRelation($objectId, $termId)
   {
     $relation = new QubitObjectTermRelation;
-    $relation->termId = $term->id;
-    $relation->objectId = $this->informationObject->id;
+    $relation->termId = $termId;
+    $relation->objectId = $objectId;
     $relation->save();
 
     return $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