Fix regression in handling save-pref action

This commit is contained in:
Aleksander Machniak
2021-01-18 19:34:19 +01:00
parent 75fca18da4
commit ec9c352ecb

View File

@@ -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;
}