Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / manage / suppliers.php
index 058f2bc1b2789fc18611d8fba65e8c3575d503b4..f36213117801af990b984282fbabb50b85275821 100644 (file)
@@ -14,7 +14,7 @@ $path_to_root = "../..";
 include($path_to_root . "/includes/db_pager.inc");
 include_once($path_to_root . "/includes/session.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();