diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-05-11 13:18:52 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-05-11 13:18:52 -0700 |
commit | 7e586cc9b014c9772043e39ae001e5bf6f841d35 (patch) | |
tree | 49fbd534e09028e6709693042cb60e03f800291f | |
parent | 9970378e485e86b2c5281aeab4411087c4550bd6 (diff) | |
parent | 4d00bdc38de74723b1f577edec0490fcad747e18 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
-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). |