Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / view / view_supp_credit.php
index 243f8e60a0ed7dbd0f76216ffb39eefb2b924e07..0025962ae93406b4132e79769db814b88cc0172f 100644 (file)
@@ -18,7 +18,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 Credit Note"), true, false, "", $js);