From cb8940256c7df9a4edbfe35d013f93d4eac27b77 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 29 Mar 2012 12:59:22 +0000 Subject: [PATCH] do NOT store state in prefs, if csv_export is set --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index d67d1ecf39..53dbf9a76b 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -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)