Author: david
Date: Thu Aug 23 16:44:41 2012
New Revision: 12194
Log:
Fix Fatal Error when treeview item has no LOD
Modified:
trunk/lib/helper/QubitHelper.php
Modified: trunk/lib/helper/QubitHelper.php
==============================================================================
--- trunk/lib/helper/QubitHelper.php Thu Aug 23 16:26:41 2012 (r12193)
+++ trunk/lib/helper/QubitHelper.php Thu Aug 23 16:44:41 2012 (r12194)
@@ -191,7 +191,12 @@
if ($item instanceof QubitInformationObject)
{
- $dataTitle = $item->levelOfDescription->__toString();
+ $dataTitle = '';
+
+ if (isset($item->levelOfDescription))
+ {
+ $dataTitle .= $item->levelOfDescription->__toString();
+ }
if (0 < strlen($dataTitle))
{
--
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.