Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / gl_journal.php
index 003e8292bd6c00aa2d794a2a779e748bd7769ce9..a6f264075719fa08f0913f8517828f8f832da285 100644 (file)
@@ -24,7 +24,7 @@ include_once($path_to_root . "/gl/includes/gl_ui.inc");
 include_once($path_to_root . "/taxes/db/tax_types_db.inc");
 
 $js = '';
-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();