diff --git a/include/class.ticket.php b/include/class.ticket.php
index 0d3296f1f8a7cb2a7975b7270b3954cc376d3bb1..d25b006a0e43be31867a45dca917ed21dfd627fa 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -411,6 +411,10 @@ class Ticket {
         return $this->ht['updated'];
     }
 
+    function getEffectiveDate() {
+        return $this->ht['lastupdate'];
+    }
+
     function getDueDate() {
         return $this->ht['duedate'];
     }
diff --git a/include/class.topic.php b/include/class.topic.php
index 8bc814c8dd9afe512db91c7c4020f7b7ba09a3c9..375b6f2d165e7ed6998849ab34f149888cd43634 100644
--- a/include/class.topic.php
+++ b/include/class.topic.php
@@ -250,6 +250,10 @@ class Topic extends VerySimpleModel {
         return true;
     }
 
+    function __toString() {
+        return $this->getFullName();
+    }
+
     /*** Static functions ***/
 
     static function create($vars=array()) {