From e0712637185484c8ac85246eedfa215d65fd9c11 Mon Sep 17 00:00:00 2001 From: guthub Date: Fri, 3 Jan 2025 14:43:30 +0100 Subject: [PATCH] try fixing phpstan --- htdocs/comm/action/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index bb31460fe9d..445b5c11d1c 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -71,10 +71,10 @@ $search_categ_cus = GETPOST("search_categ_cus", 'intcomma', 3) ? GETPOST("search // If not choice done on calendar owner (like on left menu link "Agenda"), we filter on user. if (empty($filtert) && !getDolGlobalString('AGENDA_ALL_CALENDARS')) { - $filtert = $user->id; + $filtert = "".$user->id; } //TODO : debug : if filtert ON : no bookcal -> nothing is altering filtert ??? -$filtert=-1; +$filtert="-1"; $newparam = '';