Author: mcantelon
Date: Tue Dec 20 13:56:20 2011
New Revision: 10443

Log:
Fixed minor bug is CVA CSV import.

Modified:
   trunk/lib/task/csvImportTask.class.php

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Tue Dec 20 11:13:37 2011        
(r10442)
+++ trunk/lib/task/csvImportTask.class.php      Tue Dec 20 13:56:20 2011        
(r10443)
@@ -114,13 +114,13 @@
         }
 
         //  add note if specified
-        if ($self->status['conservation_note']) {
+        if ($self->rowStatusVars['conservation_note']) {
           # NOTE: This creates the note in the DB, but it doesn't show up
           # on the user side yet
           $note = new QubitNote;
           $note->objectId = $self->information_object->id;
           $note->typeId = 231;
-          $note->content = $self->status['conservation_note'];
+          $note->content = $self->rowStatusVars['conservation_note'];
           $note->scope = 'QubitTerm'; # not sure if this is needed
           $note->save();
         }
@@ -161,7 +161,7 @@
 
     $import->addColumnHandler('Rad note – conservation', function(&$self, 
$data) {
       if ($data) {
-        $self->status['conservation_note'] = $data;
+        $self->rowStatusVars['conservation_note'] = $data;
       }
     });
 

-- 
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