summaryrefslogtreecommitdiff
path: root/plugins/subscriptions_option
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-19 07:27:05 +0000
committeralecpl <alec@alec.pl>2009-07-19 07:27:05 +0000
commit4439d2a86250504857bb201f50c94f60b0b8439d (patch)
treea567e18dff681ee610b3beb6d725bf3905784531 /plugins/subscriptions_option
parent3541d0e97a750b710f0dc7fe657b5c163bad7403 (diff)
- fix checkbox always checked (#1485982)
Diffstat (limited to 'plugins/subscriptions_option')
-rw-r--r--plugins/subscriptions_option/subscriptions_option.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php
index af0481ce6..9630ae896 100644
--- a/plugins/subscriptions_option/subscriptions_option.php
+++ b/plugins/subscriptions_option/subscriptions_option.php
@@ -42,10 +42,10 @@ class subscriptions_option extends rcube_plugin
if ($args['section'] == 'server') {
$use_subscriptions = rcmail::get_instance()->config->get('use_subscriptions');
$field_id = 'rcmfd_use_subscriptions';
- $use_subscriptions = new html_checkbox(array('name' => '_use_subscriptions', 'id' => $field_id, 'value' => 1));
+ $checkbox = new html_checkbox(array('name' => '_use_subscriptions', 'id' => $field_id, 'value' => 1));
$args['table']->add('title', html::label($field_id, Q($this->gettext('useimapsubscriptions'))));
- $args['table']->add(null, $use_subscriptions->show($use_subscriptions?1:0));
+ $args['table']->add(null, $checkbox->show($use_subscriptions?1:0));
}
return $args;