diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-13 12:14:06 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-13 12:15:34 +0200 |
commit | f4bd85b8d0414f16e90f0e8ceaf0cc031df68f59 (patch) | |
tree | 709a6409b11a928db36ff0101c1fe961e2ed72e3 | |
parent | 4c7daf5ceaea1bc48eff117e1abe642d13445857 (diff) |
Fix disabled create filter action
-rw-r--r-- | plugins/managesieve/Changelog | 1 | ||||
-rw-r--r-- | plugins/managesieve/managesieve.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog index afdafed28..00aaf53bf 100644 --- a/plugins/managesieve/Changelog +++ b/plugins/managesieve/Changelog @@ -1,4 +1,5 @@ - Added optional separate interface for out-of-office management (#1488266) +- Fix disabled "create filter" action * version 7.2 [2014-02-14] ----------------------------------------------------------- diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index aba34251c..6adba4e2d 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -72,7 +72,7 @@ class managesieve extends rcube_plugin // load localization $this->add_texts('localization/'); - if (strpos($this->rc->action, 'plugin.managesieve') === 0) { + if ($this->rc->task == 'mail' || strpos($this->rc->action, 'plugin.managesieve') === 0) { $this->include_script('managesieve.js'); } |