Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / inventory / cost_update.php
index 8abab67198a3ccec976d9ea4c0a1c4d8a8e73f77..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);