summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-02 13:03:22 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-02 13:03:22 +0200
commitc6447e2ce289188493590ec0d5449fa3692eed08 (patch)
tree4e0c853d0043a224e29b0c02c40773addc10d8d6 /plugins
parent997ef19f17af31c668d34bd00269fc02186be7f8 (diff)
Use treelist widget for folders list in Settings/Folders (#1489648)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/subscriptions_option/subscriptions_option.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php
index 130f16a8b..5b926f2af 100644
--- a/plugins/subscriptions_option/subscriptions_option.php
+++ b/plugins/subscriptions_option/subscriptions_option.php
@@ -86,7 +86,9 @@ class subscriptions_option extends rcube_plugin
{
$rcmail = rcmail::get_instance();
if (!$rcmail->config->get('use_subscriptions', true)) {
- $args['table']->remove_column('subscribed');
+ foreach ($args['list'] as $idx => $data) {
+ $args['list'][$idx]['content'] = preg_replace('/<input [^>]+>/', '', $data['content']);
+ }
}
return $args;
}