Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / allocations / supplier_allocate.php
index 80e235576b01885a97bd1b252d2dd09ca7a7b6f1..d26ed61bf796ce02c4e51dbf09c0f11c22ea8bd1 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 //include_once($path_to_root . "/purchasing/includes/ui/supp_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');