Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index bac9c899899ee64f943c5ab8162c7c1ba1791562..766f6312635e604a67da0cf813168a3e55c7068d 100644 (file)
@@ -17,7 +17,7 @@ include_once($path_to_root . "/includes/session.inc");
 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);
 page(_($help_context = "Customer Allocations"), false, false, "", $js);