From: Janusz Dobrowolski Date: Wed, 10 Feb 2010 14:57:10 +0000 (+0000) Subject: Fixed sparse warning. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f9dfbb3631a74515ae68ff3da816516b91dd34f7;p=textcart.git Fixed sparse warning. --- diff --git a/includes/db/manufacturing_db.inc b/includes/db/manufacturing_db.inc index e3f494f..396fe3b 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);