/**
* setup.php
*
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2003 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This is a standard Squirrelmail-1.2 API for plugins.
function bug_report_save() {
global $username,$data_dir;
- global $bug_report_bug_report_visible;
- if (isset($bug_report_bug_report_visible)) {
+ if( sqgetGlobalVar('bug_report_bug_report_visible', $vis, SQ_POST) ) {
setPref($data_dir, $username, 'bug_report_visible', '1');
} else {
setPref($data_dir, $username, 'bug_report_visible', '');
echo '> ' . _("Show button in toolbar") . "</td></tr>\n";
}
-?>
\ No newline at end of file
+?>