From: Janusz Dobrowolski Date: Mon, 9 Mar 2009 12:05:59 +0000 (+0000) Subject: Small fix in items.php X-Git-Tag: v2.4.2~19^2~1486 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c007d121feabba7d012f5d828cca8dd4173a4e91;p=fa-stable.git Small fix in items.php --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ad0ea117..6a5cc5f2 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -24,6 +24,8 @@ $ -> Affected files $ /admin/users.php # Changed page_security level to 1 $ /admin/display_prefs.php +# Fixed item code display after item delete +$ /inventory/manage/items.php # Cosmetic cleanup $ /includes/session.inc diff --git a/inventory/manage/items.php b/inventory/manage/items.php index fdc55902..f8370c72 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -245,6 +245,7 @@ if (isset($_POST['delete']) && strlen($_POST['delete']) > 1) $_POST['stock_id'] = ''; clear_data(); set_focus('stock_id'); + $new_item = true; $Ajax->activate('_page_body'); } }