diff options
-rw-r--r-- | FS/bin/freeside-torrus-srvderive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index c9ce1e745..f25ba40bc 100644 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive @@ -40,7 +40,7 @@ my $other_date = concat_sql([ 'other.srv_date', "' '", 'other.srv_time' ]); $other_date = "CAST( $other_date AS TIMESTAMP )" if driver_name =~ /^Pg/i; $other_date = str2time_sql. $other_date. str2time_sql_closing; -my $within = ABS( $_date - $other_date ) <= 60; +my $within = "ABS( $_date - $other_date ) <= 60"; my $in = concat_sql([ '?', "'_IN'" ]); my $out = concat_sql([ '?', "'_OUT'" ]); |