Author: sevein
Date: Mon Nov 1 12:19:33 2010
New Revision: 8742
Log:
Avoid PHP notice in migration script.
Modified:
trunk/lib/task/migrate/QubitMigrate109.class.php
Modified: trunk/lib/task/migrate/QubitMigrate109.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate109.class.php Mon Nov 1 11:55:19
2010 (r8741)
+++ trunk/lib/task/migrate/QubitMigrate109.class.php Mon Nov 1 12:19:33
2010 (r8742)
@@ -722,7 +722,7 @@
{
foreach ($this->data['QubitTerm'] as $key => &$item)
{
- if (false !== strpos($item['id'], 'RELATION_NOTE_DATE_DISPLAY_ID'))
+ if (isset($item['id']) && false !== strpos($item['id'],
'RELATION_NOTE_DATE_DISPLAY_ID'))
{
$item['id'] = str_replace('RELATION_NOTE_DATE_DISPLAY_ID',
'RELATION_NOTE_DATE_ID', $item['id']);
}
--
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.