diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-28 07:34:43 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-28 07:34:43 +0000 |
| commit | 576e0735ef67037009db9228642754e4a66f7249 (patch) | |
| tree | 9b07d182a0657b3903a365688c5f88cdbd98b2b7 | |
| parent | d2bb7925525d909400761554dc3b9bd1b15f312e (diff) | |
Only save prefs when in the right section
git-svn-id: https://svn.roundcube.net/trunk@2882 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/plugins/archive/archive.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/plugins/archive/archive.php b/roundcubemail/plugins/archive/archive.php index 2bd1adc7a..2487e6dea 100644 --- a/roundcubemail/plugins/archive/archive.php +++ b/roundcubemail/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; + } } } |
