Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / admin / void_transaction.php
index a77cbce983571970a3629fcecc9a048179bc0f6a..110516072153c1e09b54562f54c022a5177dd508 100644 (file)
@@ -23,7 +23,7 @@ include_once($path_to_root . "/admin/db/voiding_db.inc");
 $js = "";
 if (user_use_date_picker())
        $js .= get_js_date_picker();
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
        
 page(_($help_context = "Void a Transaction"), false, false, "", $js);