diff options
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/cust_credit.pm | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm index 863a54d30..d16356e6e 100644 --- a/FS/FS/cust_credit.pm +++ b/FS/FS/cust_credit.pm @@ -420,9 +420,9 @@ sub _upgrade_data {  # class method      warn "$me Checking for unmigrated reasons\n" if $DEBUG; -    my @cust_credits = qsearch({ 'table' => $class->table, -                                 'hashref' => {}, -                                 'extrasql' => 'WHERE reason IS NOT NULL', +    my @cust_credits = qsearch({ 'table'     => $class->table, +                                 'hashref'   => {}, +                                 'extra_sql' => 'WHERE reason IS NOT NULL',                                });      if (scalar(grep { $_->getfield('reason') =~ /\S/ } @cust_credits)) {  | 
