From 12d93814c9db272aceb07e3d3f2b1b09664d1fdd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 5 Nov 2021 14:23:03 +0100 Subject: [PATCH] fix PHP 8.0 TypeError: json_decode(): Argument #1 ($json) must be of type string, array given --- calendar/inc/class.calendar_uiforms.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 0a6cadda87..9f5359cb66 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1496,9 +1496,6 @@ class calendar_uiforms extends calendar_ui */ public function ajax_conflicts() { - $participants = json_decode($_GET['participants'],true); - unset($_GET['participants']); - $content = $this->default_add_event(); // Process edit wants to see input values