projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4c07c04
)
fix mostly-harmless warning
author
Mark Wells
<mark@freeside.biz>
Fri, 10 May 2013 21:23:22 +0000
(14:23 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 10 May 2013 21:26:22 +0000
(14:26 -0700)
FS/FS/part_event/Condition.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition.pm
b/FS/FS/part_event/Condition.pm
index
fc69f1d
..
60697c1
100644
(file)
--- 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) = @_;
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).
'CAST(
COALESCE('. $class->condition_sql_option($option).