Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / inventory / transfers.php
index 2dbd00b3dd7192c5c3d5868db18c1c3756a2265a..155e1055bba8f493a5267f37bec9c0bc87021c22 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/inventory/includes/stock_transfers_ui.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(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();