From b91858c22eae141b31fe0024ee2a04bdeae2f3c5 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 19 Dec 2007 01:55:38 +0000 Subject: [PATCH] underscoring the important --- FS/FS/cust_credit.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm index 9efb0c2c3..938686fea 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)) { -- 2.11.0