From: Janusz Dobrowolski Date: Wed, 10 Feb 2010 14:57:10 +0000 (+0000) Subject: Fixed sparse warning. X-Git-Tag: 2.3-final~975 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=8418773195fc94762272a8be98da32ebe77bf503;p=fa-stable.git Fixed sparse warning. --- 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);