[Rt-commit] r8003 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements

ruz at bestpractical.com ruz at bestpractical.com
Fri Jun 8 23:02:39 EDT 2007


Author: ruz
Date: Fri Jun  8 23:02:39 2007
New Revision: 8003

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/LoadTextAttachments

Log:
* this option is overridable

Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/LoadTextAttachments
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/LoadTextAttachments	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Ticket/Elements/LoadTextAttachments	Fri Jun  8 23:02:39 2007
@@ -83,7 +83,7 @@
     $attachments->Limit ( FIELD => 'ContentType', OPERATOR => 'STARTSWITH', VALUE => 'message/');
     $attachments->Limit ( FIELD => 'ContentType', OPERATOR => '=', VALUE => 'text');
     $attachments->Limit ( FIELD => 'Filename', OPERATOR => 'IS', VALUE => 'NULL')
-        if RT->Config->Get('SuppressInlineTextFiles');
+        if RT->Config->Get('SuppressInlineTextFiles', $Ticket->CurrentUser );
 }
 return ($attachments);
 </%INIT>


More information about the Rt-commit mailing list