Author: david
Date: Fri Jun 24 17:07:42 2011
New Revision: 9179

Log:
Test for existence of id column to avoid PHP Notice

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

Modified: trunk/lib/task/migrate/QubitMigrate105.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate105.class.php    Fri Jun 24 17:05:37 
2011        (r9178)
+++ trunk/lib/task/migrate/QubitMigrate105.class.php    Fri Jun 24 17:07:42 
2011        (r9179)
@@ -324,7 +324,7 @@
     {
       foreach ($qubitTermArray as $key => $term)
       {
-        if ($term['id'] == '<?php echo QubitTerm::'.$constantName.'."\n" ?>')
+        if (isset($term['id']) && '<?php echo 
QubitTerm::'.$constantName.'."\n" ?>' == $term['id'])
         {
           $newTermArray[$key] = $term;
           unset($qubitTermArray[$key]);

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