summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-05-10 14:23:22 -0700
committerMark Wells <mark@freeside.biz>2013-05-10 14:26:22 -0700
commit4d00bdc38de74723b1f577edec0490fcad747e18 (patch)
tree9bd04fc53a497b5b23d017103b269a97cf362270 /FS
parent4c07c048c76c1aa8fe0f7aa8e8de7243ba60d777 (diff)
fix mostly-harmless warning
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_event/Condition.pm2
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).