Fixed page update after item search.
[fa-stable.git] / inventory / reorder_level.php
index 83283d5b536d012e36863ba8c5213b8586f2e02b..3a6834370dad9b76a51e17606a2cbd629c870aed 100644 (file)
@@ -19,7 +19,7 @@ check_db_has_costable_items(_("There are no inventory items defined in the syste
 if (isset($_GET['stock_id']))
        $_POST['stock_id'] = $_GET['stock_id'];
 
-if (isset($_POST['_stock_id_update']))
+if (list_updated('stock_id')) 
 {
        $Ajax->activate('show_heading');
        $Ajax->activate('reorders');