From fdff696a0cf9fe971a680bc31f8fed5d15a6d9b4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 26 Jan 2015 17:48:06 +0000 Subject: [PATCH] Enhance error log with name of problem favorite. --- phpgwapi/inc/class.egw_favorites.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_favorites.inc.php b/phpgwapi/inc/class.egw_favorites.inc.php index ced6315f08..0a456b0cda 100644 --- a/phpgwapi/inc/class.egw_favorites.inc.php +++ b/phpgwapi/inc/class.egw_favorites.inc.php @@ -75,7 +75,7 @@ class egw_favorites //filter must not be empty if there's one, ignore it at the moment but it need to be checked how it got there in database if (!$filter) { - error_log(__METHOD__.'Favorite filter is not suppose to be empty, it should be an array. filter = '. array2string($filters[$name])); + error_log(__METHOD__.'Favorite filter "'.$name.'" is not supposed to be empty, it should be an array. Skipping, more investigation needed. filter = '. array2string($filters[$name])); continue; }