X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdb%2Fmanufacturing_db.inc;h=396fe3b138d287adca7e9a520a1cd095f52c2d78;hb=c51f4515e92fc251aa51b7809d4514161655fa37;hp=e3f494ff6471c2f9c05299c61eb4aad61e7c68b3;hpb=43057b109033ac4c0c3557e5aa09fddec1a936c1;p=fa-stable.git diff --git a/includes/db/manufacturing_db.inc b/includes/db/manufacturing_db.inc index e3f494ff..396fe3b1 100644 --- a/includes/db/manufacturing_db.inc +++ b/includes/db/manufacturing_db.inc @@ -64,7 +64,7 @@ function stock_demand_manufacture($stock_id, $qty, $demand_id, $location, $level $stock_qty = $qoh_stock[$stock_id]; if ($stock_qty == NULL) $stock_qty = 0; if ($qty <= $stock_qty) return $demand; - $bom = $bom_list[$stock_id]; + $bom = @$bom_list[$stock_id]; if ($bom == NULL) { $sql = "SELECT parent, component, quantity FROM " .TB_PREF."bom WHERE parent = ".db_escape($stock_id);