From: Janusz Dobrowolski Date: Mon, 17 Nov 2008 09:15:47 +0000 (+0000) Subject: Oops. X-Git-Tag: v2.4.2~19^2~1742 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=90ccfadd90aa37c22f88f7bc5628f0ebeec0b29f;p=fa-stable.git Oops. --- diff --git a/inventory/inquiry/stock_movements.php b/inventory/inquiry/stock_movements.php index be481b3f..52b2aa1f 100644 --- a/inventory/inquiry/stock_movements.php +++ b/inventory/inquiry/stock_movements.php @@ -19,7 +19,7 @@ if ($use_date_picker) page(_("Inventory Item Movement"), false, false, "", $js); //------------------------------------------------------------------------------------------------ -include $path_to_root.'/sql/upgrade.php'; + check_db_has_stock_items(_("There are no items defined in the system.")); if (isset($_GET['stock_id']))