diff options
author | ivan <ivan> | 2011-12-01 02:19:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-12-01 02:19:05 +0000 |
commit | e2f54dc5099d3c739b6661ae157cff950f674c1d (patch) | |
tree | e6ca6de78a75baa6d2079492466e524dce4f5e10 /FS | |
parent | a8f814549342f71e93274df64aea59dbf7543adb (diff) |
perl 5.14 compat
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg_reason.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_pkg_reason.pm b/FS/FS/cust_pkg_reason.pm index 719d6db..641605f 100644 --- a/FS/FS/cust_pkg_reason.pm +++ b/FS/FS/cust_pkg_reason.pm @@ -211,7 +211,7 @@ sub _upgrade_data { # class method #remove nullability if scalar(@migrated) - $count == 0 && ->column('action'); #seek expirations/adjourns without reason - foreach my $field qw( expire adjourn cancel susp ) { + foreach my $field (qw( expire adjourn cancel susp )) { my $addl_from = "LEFT JOIN h_cust_pkg ON ". "(cust_pkg_reason.pkgnum = h_cust_pkg.pkgnum AND". @@ -271,7 +271,7 @@ sub _upgrade_data { # class method } #seek cancels/suspends without reason, but with expire/adjourn reason - foreach my $field qw( cancel susp ) { + foreach my $field (qw( cancel susp )) { my %precursor_map = ( 'cancel' => 'expire', 'susp' => 'adjourn' ); my $precursor = $precursor_map{$field}; |