[Rt-commit] r6910 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Fri Feb 2 20:38:24 EST 2007
Author: ruz
Date: Fri Feb 2 20:38:24 2007
New Revision: 6910
Modified:
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Tickets_Overlay.pm
Log:
* add a =cut in the end of file, so magic '1;' would be a code
Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Tickets_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Tickets_Overlay.pm Fri Feb 2 20:38:24 2007
@@ -712,7 +712,7 @@
$self->_OpenParen;
#Search for the right field
- if ($field eq 'Content' and $RT::DontSearchFileAttachments) {
+ if ( $field eq 'Content' and RT->Config->Get('DontSearchFileAttachments') ) {
$self->_SQLLimit(
ALIAS => $self->{_sql_trattachalias},
FIELD => 'Filename',
@@ -2873,6 +2873,8 @@
=end testing
+=cut
+
1;
More information about the Rt-commit
mailing list