do NOT store state in prefs, if csv_export is set

This commit is contained in:
Ralf Becker 2012-03-29 12:59:22 +00:00
parent ee8fd5b10e
commit cb8940256c

View File

@ -1162,7 +1162,7 @@ class addressbook_ui extends addressbook_bo
'col_filter' => array('tid' => $query['col_filter']['tid']),
'org_view' => $query['org_view'],
));
if ($state != $this->prefs[$what.'_state'])
if ($state != $this->prefs[$what.'_state'] && !$query['csv_export'])
{
$GLOBALS['egw']->preferences->add('addressbook',$what.'_state',$state);
// save prefs, but do NOT invalid the cache (unnecessary)