summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-05-10 14:25:58 -0700
committerMark Wells <mark@freeside.biz>2013-05-10 14:25:58 -0700
commit442c5884030e6429a0e22701068ea087488cbab6 (patch)
treeda4f3399f4d2b97dd0854abd6fc0cee848c2c6c6
parent96528846ba030e43a45d0787140be865f7783698 (diff)
fix mostly-harmless warning
-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 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).