Author: david
Date: Mon Jun 27 10:46:24 2011
New Revision: 9188
Log:
Avoid PHP Notices
Modified:
trunk/lib/task/migrate/QubitMigrate108.class.php
Modified: trunk/lib/task/migrate/QubitMigrate108.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate108.class.php Mon Jun 27 10:40:36
2011 (r9187)
+++ trunk/lib/task/migrate/QubitMigrate108.class.php Mon Jun 27 10:46:24
2011 (r9188)
@@ -1093,7 +1093,7 @@
{
foreach ($this->data['QubitMenu'] as $key => $row)
{
- if (false !== strpos($row['path'], 'show'))
+ if (isset($row['path']) && false !== strpos($row['path'], 'show'))
{
$this->data['QubitMenu'][$key]['path'] = str_replace('show', 'index',
$row['path']);
}
--
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.