Skip to content

Commit

Permalink
41292: Change Comments in ILIAS LM : explode(): Passing null to param…
Browse files Browse the repository at this point in the history
…eter #2 () of type string is deprecated
  • Loading branch information
alex40724 committed May 1, 2024
1 parent d8570a3 commit 332824c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Services/History/classes/class.ilHistoryTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 332824c

Please sign in to comment.