From 5e1ed8fa144c3144692ef034f1d171807ad49371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 21 Nov 2022 15:39:32 +0100 Subject: [PATCH] =?UTF-8?q?Bugfix=20f=C3=BCr=20Statistiken=20mit=20Array?= =?UTF-8?q?=20Parametern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/statistik.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/statistik.class.php b/include/statistik.class.php index 15624de26..e2b5e1a7a 100644 --- a/include/statistik.class.php +++ b/include/statistik.class.php @@ -525,7 +525,7 @@ class statistik extends basis_db foreach($_REQUEST as $name=>$value) { // Inputs, die in eckigen Klammern stehen, werden als Array interpretiert - if (substr($value, 0, 1) == '[' && substr($value, -1) == ']') + if (is_string($value) && substr($value, 0, 1) == '[' && substr($value, -1) == ']') { //Eckige Klammern entfernen und String aufsplitten $value = substr($value, 1);