[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-104-gbe54c4a
Ruslan Zakirov
ruz at bestpractical.com
Tue Jun 29 12:17:37 EDT 2010
The branch, 3.8-trunk has been updated
via be54c4a037648121263eb199557061d3e128bc6d (commit)
from 88396dead2fe8549e89f5bffde5779fd31975469 (commit)
Summary of changes:
lib/RT/Transaction_Overlay.pm | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit be54c4a037648121263eb199557061d3e128bc6d
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Jun 29 20:18:11 2010 +0400
use LimitNotEmpty method as on Oracle CLOB != '' is bad
diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index d1630ea..c1821bc 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -560,11 +560,7 @@ sub ContentAsMIME {
OPERATOR => 'NOT STARTSWITH',
VALUE => 'multipart/',
);
- $attachments->Limit(
- FIELD => 'Content',
- OPERATOR => '!=',
- VALUE => '',
- );
+ $attachments->LimitNotEmpty;
while ( my $a = $attachments->Next ) {
$entity->make_multipart unless $entity->is_multipart;
$entity->add_part( $a->ContentAsMIME );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list