From 442c5884030e6429a0e22701068ea087488cbab6 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 10 May 2013 14:25:58 -0700 Subject: [PATCH] fix mostly-harmless warning --- FS/FS/part_event/Condition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm index 64a4d5ba2..2a399c47d 100644 --- a/FS/FS/part_event/Condition.pm +++ b/FS/FS/part_event/Condition.pm @@ -508,7 +508,7 @@ comparison to other integers is type-correct. sub condition_sql_option_integer { my ($class, $option, $driver_name) = @_; - my $integer = ($driver_name =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER'; + my $integer = (driver_name() =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER'; 'CAST( COALESCE('. $class->condition_sql_option($option). -- 2.11.0