v4.3.7-cvs
----------
+[mms] Optimize folder tree initialization (Ticket #8805).
[mms] Add command line fetchmail script (tjacyno@galasoft.net, Ticket #8812).
[jan] Workaround broken PHP number formatting with some locales (Bug #8780).
protected function _modifyExpandedList($id, $action)
{
$this->_initExpandedList();
+
if ($action == 'add') {
+ $change = empty($this->_expanded[$id]);
$this->_expanded[$id] = true;
} else {
+ $change = !empty($this->_expanded[$id]);
unset($this->_expanded[$id]);
}
- $GLOBALS['prefs']->setValue('expanded_folders', serialize($this->_expanded));
+
+ if ($change) {
+ $GLOBALS['prefs']->setValue('expanded_folders', serialize($this->_expanded));
+ }
}
/**