[0002781] Improved error diagnostic during files upload.
[fa-stable.git] / inventory / cost_update.php
index 7f314facc5d2797e3f80a5efa8ad9d7ea653cc79..4fcb852d69ed27be158bba9d005d06c8a7dc34e6 100644 (file)
@@ -24,7 +24,7 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/inventory/includes/inventory_db.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "Inventory Item Cost Update"), false, false, "", $js);
 
@@ -135,4 +135,3 @@ submit_center('UpdateData', _("Update"), true, false, 'default');
 
 end_form();
 end_page();
-?>