[Rt-commit] r14189 - rtir/branches/2.3-TESTING/html/Callbacks/RTIR/Ticket/Elements/ShowTransaction

ruz at bestpractical.com ruz at bestpractical.com
Wed Jul 16 19:51:10 EDT 2008


Author: ruz
Date: Wed Jul 16 19:51:09 2008
New Revision: 14189

Modified:
   rtir/branches/2.3-TESTING/html/Callbacks/RTIR/Ticket/Elements/ShowTransaction/ModifyDisplay

Log:
* protect from a bug in RT 3.8.0

Modified: rtir/branches/2.3-TESTING/html/Callbacks/RTIR/Ticket/Elements/ShowTransaction/ModifyDisplay
==============================================================================
--- rtir/branches/2.3-TESTING/html/Callbacks/RTIR/Ticket/Elements/ShowTransaction/ModifyDisplay	(original)
+++ rtir/branches/2.3-TESTING/html/Callbacks/RTIR/Ticket/Elements/ShowTransaction/ModifyDisplay	Wed Jul 16 19:51:09 2008
@@ -1,4 +1,6 @@
 <%INIT>
+# protect from a bug in 3.8.0
+return unless $text && ref($text) eq 'SCALAR';
 
 # remove the prefix from the beginning of the text
 # useful for removing _RTIR_ from RTIR custom fields


More information about the Rt-commit mailing list