Enhance error log with name of problem favorite.

This commit is contained in:
Nathan Gray 2015-01-26 17:48:06 +00:00
parent a644255c78
commit fdff696a0c

View File

@ -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;
}