projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some illegal RADIUS attributes during import, #18751
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition.pm
diff --git
a/FS/FS/part_event/Condition.pm
b/FS/FS/part_event/Condition.pm
index
ef3d0b5
..
64a4d5b
100644
(file)
--- a/
FS/FS/part_event/Condition.pm
+++ b/
FS/FS/part_event/Condition.pm
@@
-344,10
+344,10
@@
sub condition_sql_option_option {
}
}
-#used for part_event/Condition/cust_bill_has_service.pm
+#used for part_event/Condition/cust_bill_has_service.pm
and has_cust_tag.pm
#a little false laziness w/above and condition_sql_option_integer
sub condition_sql_option_option_integer {
#a little false laziness w/above and condition_sql_option_integer
sub condition_sql_option_option_integer {
- my( $class, $option
, $driver_name
) = @_;
+ my( $class, $option ) = @_;
( my $condname = $class ) =~ s/^.*:://;
( my $condname = $class ) =~ s/^.*:://;
@@
-359,7
+359,7
@@
sub condition_sql_option_option_integer {
AND part_event_condition_option.optionvalue = 'HASH'
)";
AND part_event_condition_option.optionvalue = 'HASH'
)";
- my $integer = (
$
driver_name =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER';
+ my $integer = (driver_name =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER';
my $optionname = "CAST(optionname AS $integer)";
my $optionname = "CAST(optionname AS $integer)";