Author: david
Date: Fri Jun 24 17:31:59 2011
New Revision: 9181
Log:
Test for existence of id column to avoid PHP Notice
Modified:
trunk/lib/task/migrate/QubitMigrate106.class.php
Modified: trunk/lib/task/migrate/QubitMigrate106.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate106.class.php Fri Jun 24 17:09:32
2011 (r9180)
+++ trunk/lib/task/migrate/QubitMigrate106.class.php Fri Jun 24 17:31:59
2011 (r9181)
@@ -597,7 +597,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.