fix sprintf error, mostly #31273
[freeside.git] / httemplate / edit / process / quick-cust_pkg.cgi
index 38d5c44..67cdb87 100644 (file)
@@ -144,7 +144,7 @@ if ( $quotationnum ) {
   $quotation_pkg->prospectnum($prospect_main->prospectnum) if $prospect_main;
 
   #XXX handle new location
-  $error = $quotation_pkg->insert;
+  $error = $quotation_pkg->insert || $quotation_pkg->estimate;
 
 } else {