Author: mcantelon
Date: Wed Jun  6 13:49:03 2012
New Revision: 11742

Log:
Fix to get rid of PHP warning.

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

Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php       Wed Jun  6 00:02:54 
2012        (r11741)
+++ trunk/lib/task/import/csvImportTask.class.php       Wed Jun  6 13:49:03 
2012        (r11742)
@@ -462,7 +462,9 @@
             {
               $names = explode('|', 
$self->rowStatusVars['physicalObjectName']);
               $locations = explode('|', 
$self->rowStatusVars['physicalObjectLocation']);
-              $types = explode('|', 
$self->rowStatusVars['physicalObjectType']);
+              $types = (isset($self->rowStatusVars['physicalObjectType']))
+                ? explode('|', $self->rowStatusVars['physicalObjectType'])
+                : array();
 
               foreach($names as $index => $name)
               {

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