From ec9c352ecbcc5482fb179fe5416640c668ff65a8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 18 Jan 2021 19:34:19 +0100 Subject: [PATCH] Fix regression in handling save-pref action --- program/include/rcmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 63f871964..8246510d5 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -250,9 +250,9 @@ class rcmail extends rcube } // execute action registered to a plugin task - if ($this->plugins->is_plugin_task($this->task)) { + if ($this->plugins->is_plugin_task($task)) { if (!$this->action) $this->action = 'index'; - $this->plugins->exec_action("{$this->task}.{$this->action}"); + $this->plugins->exec_action("{$task}.{$this->action}"); break; }