From: Janusz Dobrowolski Date: Sun, 11 Jan 2015 14:28:23 +0000 (+0100) Subject: Fixed regression in items.php. X-Git-Tag: v2.4.2~19^2~269 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=b53ecd242b427bdbe3a2f6fdb75259a3fee4c190;p=fa-stable.git Fixed regression in items.php. --- diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 0b069ea3..54df94bf 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -254,7 +254,7 @@ if (isset($_POST['delete']) && strlen($_POST['delete']) > 1) } } -function item_settings(&$stock_id, $new_id) +function item_settings(&$stock_id, $new_item) { global $SysPrefs, $path_to_root; @@ -474,7 +474,7 @@ tabbed_content_start('tabs', array( switch (get_post('_tabs_sel')) { default: case 'settings': - item_settings($stock_id, $new_id); + item_settings($stock_id, $new_item); break; case 'sales_pricing': $_GET['stock_id'] = $stock_id;