diff options
author | thomascube <thomas@roundcube.net> | 2009-08-28 07:34:43 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-08-28 07:34:43 +0000 |
commit | 16506fbe39df8ddcab142be363d4017e5c69c004 (patch) | |
tree | d0aa6080ca8b0b061137ff397c9455a22aab6b78 /plugins/archive/archive.php | |
parent | 11e670da55d18a999773374563390c4b378e5e41 (diff) |
Only save prefs when in the right section
Diffstat (limited to 'plugins/archive/archive.php')
-rw-r--r-- | plugins/archive/archive.php | 6 |
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; + } } } |