Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / inquiry / supplier_allocation_inquiry.php
index 62dddd94e5857af686719310324b63712a1b7b74..fe80c722d51b77fba408840d125fd1d0af2e4f21 100644 (file)
@@ -16,7 +16,7 @@ include($path_to_root . "/includes/session.inc");
 
 include($path_to_root . "/purchasing/includes/purchasing_ui.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();