Author: david
Date: Mon Jun 27 10:10:02 2011
New Revision: 9184

Log:
Test for class name in data array to avoid PHP Warning

Modified:
   trunk/lib/task/migrate/QubitMigrate.class.php

Modified: trunk/lib/task/migrate/QubitMigrate.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate.class.php       Mon Jun 27 10:06:11 
2011        (r9183)
+++ trunk/lib/task/migrate/QubitMigrate.class.php       Mon Jun 27 10:10:02 
2011        (r9184)
@@ -70,7 +70,10 @@
    */
   protected function getRowKey($className, $searchColumn, $searchKey)
   {
-    return self::findRowKeyForColumnValue($this->data[$className], 
$searchColumn, $searchKey);
+    if (isset($this->data[$className]))
+    {
+      return self::findRowKeyForColumnValue($this->data[$className], 
$searchColumn, $searchKey);
+    }
   }
 
   /**

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