From a8a3b4411d1980cc691c4945efe07353ce34bdc1 Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 13 Apr 2004 05:35:01 +0000 Subject: [PATCH] quick fix to use sqgetGlobalVar instead of $_POST git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7118 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/fortune/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fortune/setup.php b/plugins/fortune/setup.php index 92646e71..d1c21bcc 100644 --- a/plugins/fortune/setup.php +++ b/plugins/fortune/setup.php @@ -84,7 +84,7 @@ function fortune_options() { function fortune_save() { global $username,$data_dir; - if (isset($_POST['fortune_fortune_visible'])) { + if (sqgetGlobalVar('fortune_fortune_visible',$fortune_fortune_visible,SQ_POST)) { setPref($data_dir, $username, 'fortune_visible', '1'); } else { setPref($data_dir, $username, 'fortune_visible', ''); -- 2.25.1