From 9ed8e94a2316d525f3aadd9c6f12c4bebdb2a1a5 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Tue, 31 Dec 2024 15:48:14 -0800 Subject: oops that was a bug --- inbox_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inbox_settings.php') diff --git a/inbox_settings.php b/inbox_settings.php index c6e254c..d89cf7e 100644 --- a/inbox_settings.php +++ b/inbox_settings.php @@ -46,7 +46,7 @@ class inbox_settings extends rcube_plugin { } private function save_settings() { - if (empty($_POST['save'])) + if (!isset($_POST['save'])) return; $encrypt_inbox = isset($_POST['encrypt_inbox']) ? '1' : '0'; -- cgit v1.2.3