Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / sales / allocations / customer_allocate.php
index 2c5da35db02aba69f4665af4bff9b68f08a5ef5a..ab3a30013ab7cf11ea2c7d3dd960379d14e52321 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 //include_once($path_to_root . "/sales/includes/ui/cust_alloc_ui.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 
 add_js_file('allocate.js');