underscoring the important
authorjeff <jeff>
Wed, 19 Dec 2007 01:55:38 +0000 (01:55 +0000)
committerjeff <jeff>
Wed, 19 Dec 2007 01:55:38 +0000 (01:55 +0000)
FS/FS/cust_credit.pm

index 9efb0c2..938686f 100644 (file)
@@ -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)) {