pull/7459/merge
Varun Patil 4 years ago committed by GitHub
commit c57f3bc7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -161,6 +161,11 @@ class rcmail extends rcube
$task = asciiwords($task, true) ?: 'mail';
}
// Re-initialize plugins if task is changing
if (!empty($this->task) && $this->task != $task) {
$this->plugins->init($this, $task);
}
$this->task = $task;
$this->comm_path = $this->url(array('task' => $this->task));

Loading…
Cancel
Save