From bb84db61619f42322d31b0fc9fd47b7d87625ee8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 24 Aug 2015 16:02:07 +0000 Subject: [PATCH] * Calendar/all apps: fix since last package not working old favorites and json-encode all php-serialized preferences --- phpgwapi/inc/class.egw_favorites.inc.php | 17 +---- phpgwapi/inc/class.preferences.inc.php | 80 ++++++++++++++---------- phpgwapi/setup/setup.inc.php | 2 +- phpgwapi/setup/tables_update.inc.php | 26 ++++++++ 4 files changed, 75 insertions(+), 50 deletions(-) diff --git a/phpgwapi/inc/class.egw_favorites.inc.php b/phpgwapi/inc/class.egw_favorites.inc.php index b31de4be1f..d7caa28285 100644 --- a/phpgwapi/inc/class.egw_favorites.inc.php +++ b/phpgwapi/inc/class.egw_favorites.inc.php @@ -78,7 +78,6 @@ class egw_favorites error_log(__METHOD__.'Favorite filter is not suppose to be empty, it should be an array. filter = '. array2string($filters[$name])); continue; } - $href = "javascript:app.$app.setState(" . json_encode($filter,JSON_FORCE_OBJECT) . ');'; $li = "