Merged latest changes from stable branch.
[fa-stable.git] / inventory / prices.php
index f1c63c40b2b9a52f273a4f84e5495586754678d1..84db8288d1b8cbc8e9471df73d80547655cb9dc6 100644 (file)
@@ -50,7 +50,6 @@ if (!isset($_POST['curr_abrev']))
 }
 
 //---------------------------------------------------------------------------------------------------
-
 $action = $_SERVER['PHP_SELF'];
 if (@$_GET['popup'])
        $action .= "?stock_id=".get_post('stock_id');
@@ -212,6 +211,5 @@ submit_add_or_update_center($selected_id == -1, '', 'both');
 div_end();
 
 end_form();
-if (!@$_GET['popup'])
-       end_page(@$_GET['popup'], false, false);
+end_page();
 ?>