summaryrefslogtreecommitdiff
path: root/plugins/archive
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/archive')
-rw-r--r--plugins/archive/archive.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index 2bd1adc7a..2487e6dea 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -107,8 +107,10 @@ class archive extends rcube_plugin
function save_prefs($args)
{
- $args['prefs']['archive_mbox'] = get_input_value('_archive_mbox', RCUBE_INPUT_POST);
- return $args;
+ if ($args['section'] == 'folders') {
+ $args['prefs']['archive_mbox'] = get_input_value('_archive_mbox', RCUBE_INPUT_POST);
+ return $args;
+ }
}
}