Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / inquiry / customer_allocation_inquiry.php
index a67a7b245875131047934d5b075f0d845111a9b5..968600bb15e47832818228caa0b60d368d6b49d4 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/sales/includes/sales_ui.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();