[Rt-commit] r17926 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jan 26 06:50:36 EST 2009


Author: sunnavy
Date: Mon Jan 26 06:50:35 2009
New Revision: 17926

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/AttachmentCollection.pm

Log:
 r19055 at sunnavys-mb:  sunnavy | 2009-01-26 19:04:31 +0800
 merged lib/RT/Model/AttachmentCollection.pm


Modified: rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/AttachmentCollection.pm
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/AttachmentCollection.pm	(original)
+++ rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/AttachmentCollection.pm	Mon Jan 26 06:50:35 2009
@@ -162,12 +162,16 @@
         value            => 'NULL',
         quote_value      => 0,
     );
-    $self->limit(
-        entry_aggregator => 'AND',
-        column           => 'content',
-        operator         => '!=',
-        value            => '',
-    );
+
+    # http://rt3.fsck.com/Ticket/Display.html?id=12483
+    if ( RT->config->get('DatabaseType') ne 'Oracle' ) {
+        $self->limit(
+            entry_aggregator => 'AND',
+            column           => 'content',
+            operator        => '!=',
+            value           => '',
+        );
+    }
     return;
 }
 


More information about the Rt-commit mailing list