Author: sevein
Date: Tue Jul  3 14:11:29 2012
New Revision: 11840

Log:
Return title property instead of the object

Modified:
   trunk/lib/QubitSearchInformationObject.class.php

Modified: trunk/lib/QubitSearchInformationObject.class.php
==============================================================================
--- trunk/lib/QubitSearchInformationObject.class.php    Tue Jul  3 00:02:44 
2012        (r11839)
+++ trunk/lib/QubitSearchInformationObject.class.php    Tue Jul  3 14:11:29 
2012        (r11840)
@@ -562,7 +562,7 @@
     $sql .= ' WHERE node.id = ?';
     $sql .= ' AND node.source_culture = i18n.culture';
 
-    return QubitPdo::fetchOne($sql, array($this->__get('id')));
+    return QubitPdo::fetchOne($sql, array($this->__get('id')))->title;
   }
 
   public function getLevelOfDescription()

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