Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / view / view_supp_invoice.php
index e2e0710ec8546da050de9d9066a2c2a052d56e3e..98d5cdc4dd75560e70338e476d48f78dc93953c0 100644 (file)
@@ -19,7 +19,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($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);
 page(_($help_context = "View Supplier Invoice"), true, false, "", $js);