Bug 9807: (follow-up) quell warning if invoice price not set
authorGalen Charlton <gmc@esilibrary.com>
Tue, 17 Dec 2013 17:34:21 +0000 (17:34 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 17 Dec 2013 17:40:31 +0000 (17:40 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/basketgroup.pl

index c9db3b3..36c4462 100755 (executable)
@@ -145,7 +145,7 @@ sub BasketTotal {
             $total = $total * ( $gst / 100 +1);
         }
     }
-    $total .= $bookseller->{invoiceprice};
+    $total .= $bookseller->{invoiceprice} // 0;
     return $total;
 }