bugfix refactoring CDRs for immediate rating, RT#15839
[freeside.git] / FS / FS / Record.pm
index 6773487..598cb6a 100644 (file)
@@ -577,6 +577,8 @@ sub get_real_fields {
             qq-( $column $op "" )-;
           }
         }
+      } elsif ( $op eq '!=' ) {
+        qq-( $column IS NULL OR $column != ? )-;
       #if this needs to be re-enabled, it needs to use a custom op like
       #"APPROX=" or something (better name?, not '=', to avoid affecting other
       # searches