diff options
author | Mark Wells <mark@freeside.biz> | 2013-05-10 14:25:04 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-05-10 14:28:20 -0700 |
commit | 5f731e5ee688ddc7b0c9825d693a2ead763bd792 (patch) | |
tree | 5fdd7ee262510acaa7092ab0448bc6ded564622a | |
parent | 53587d38364bb25653f7df08b2cf1a7468d43c1f (diff) |
fix mostly-harmless warning
-rw-r--r-- | FS/FS/part_event/Condition.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm index fc69f1d0c..60697c196 100644 --- a/FS/FS/part_event/Condition.pm +++ b/FS/FS/part_event/Condition.pm @@ -524,7 +524,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). |