projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328955d
)
Only change enabled status for virtual folders displayed on the preferences screen
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 22 Sep 2010 04:09:04 +0000
(22:09 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 22 Sep 2010 04:17:28 +0000
(22:17 -0600)
imp/lib/Prefs/Ui.php
patch
|
blob
|
history
diff --git
a/imp/lib/Prefs/Ui.php
b/imp/lib/Prefs/Ui.php
index
e6ad631
..
cf47d74
100644
(file)
--- a/
imp/lib/Prefs/Ui.php
+++ b/
imp/lib/Prefs/Ui.php
@@
-1324,8
+1324,13
@@
class IMP_Prefs_Ui
foreach ($imp_search as $key => $val) {
$form_key = 'enable_' . $key;
- $val->enabled = !empty($ui->vars->$form_key);
- $vfolders[$key] = $val;
+
+ /* Only change enabled status for virtual folders displayed
+ * on the preferences screen. */
+ if (isset($ui->vars->$form_key)) {
+ $val->enabled = !empty($ui->vars->$form_key);
+ $vfolders[$key] = $val;
+ }
}
$imp_search->setVFolders($vfolders);
break;