From 332824cbf7074a2b80c4e4ca0b3bd764240e1bee Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Wed, 1 May 2024 22:54:12 +0200 Subject: [PATCH] 41292: Change Comments in ILIAS LM : explode(): Passing null to parameter #2 () of type string is deprecated --- Services/History/classes/class.ilHistoryTableGUI.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Services/History/classes/class.ilHistoryTableGUI.php b/Services/History/classes/class.ilHistoryTableGUI.php index d43535781dc4..cd3039578a90 100644 --- a/Services/History/classes/class.ilHistoryTableGUI.php +++ b/Services/History/classes/class.ilHistoryTableGUI.php @@ -134,16 +134,16 @@ protected function fillRow(array $a_set): void */ protected function createInfoText(array $a_set): string { - $info_params = explode(",", $a_set["info_params"]); + $info_params = explode(",", (string) $a_set["info_params"]); switch ($this->getObjType()) { case "lm": - $info_text = $this->lng->txt("hist_" . str_replace(":", "_", $a_set["obj_type"]) . - "_" . $a_set["action"]); + $info_text = $this->lng->txt("hist_" . str_replace(":", "_", (string) $a_set["obj_type"]) . + "_" . (string) $a_set["action"]); break; default: $info_text = $this->lng->txt("hist_" . str_replace(":", "_", $this->getObjType()) . - "_" . $a_set["action"]); + "_" . (string) $a_set["action"]); break; }