Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / inquiry / gl_account_inquiry.php
index 1fed9b30a95a90427b70a3ecde1d1dcd43c8829f..3f81e035e3d7dfce4d671f8c43fd5bf24bd3aeac 100644 (file)
@@ -23,7 +23,7 @@ include_once($path_to_root . "/gl/includes/gl_db.inc");
 
 $js = '';
 set_focus('account');
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();