eeb! fix realtime recharge
authorjeff <jeff>
Sun, 5 Aug 2007 17:32:49 +0000 (17:32 +0000)
committerjeff <jeff>
Sun, 5 Aug 2007 17:32:49 +0000 (17:32 +0000)
FS/FS/ClientAPI/MyAccount.pm

index bea31c5..459558d 100644 (file)
@@ -888,7 +888,7 @@ sub order_recharge {
 
     $bill_error = _do_bop_realtime( $cust_main );
 
-    if ('bill_error') {
+    if ($bill_error) {
       return $bill_error;
     } else {
       my $error = $svc_x->recharge (\%vhash);