summaryrefslogtreecommitdiff
path: root/plugins/managesieve
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-20 13:17:24 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-20 13:17:24 +0200
commitb41cd7cc37159ee69c96202faa84eb8a86eb379e (patch)
tree097dcc0f4fed12cc5e5c0333cb5db56fec188de0 /plugins/managesieve
parentcd97f0ad1190f4fe1f65542389b517936bf32b5d (diff)
Set default importance to normal
Diffstat (limited to 'plugins/managesieve')
-rw-r--r--plugins/managesieve/managesieve.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php
index 055e1b4cb..ccfc95076 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -1628,7 +1628,7 @@ class managesieve extends rcube_plugin
$select_importance->add(Q($this->gettext($io_n)), $io_v);
}
$out .= '<br /><span class="label">' . Q($this->gettext('notifyimportance')) . '</span><br />';
- $out .= $select_importance->show(array(intval($action['importance'])));
+ $out .= $select_importance->show($action['importance'] ? $action['importance'] : 2);
$out .= '</div>';
// mailbox select