From 20817dd8ff61b0fba1470ecb5bc1c74d52b1dd91 Mon Sep 17 00:00:00 2001 From: ruan <2369127-ruany@users.noreply.gitlab.com> Date: Fri, 20 Jan 2023 06:11:09 +0200 Subject: [PATCH] Fix deprecation warnings for str_replace() (fixes #87) --- history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.php b/history.php index 14887ae..7b322e7 100644 --- a/history.php +++ b/history.php @@ -83,7 +83,7 @@ if (strstr($arg0, ":issued")) { $uuid = $page->uuid_dashify($arg0); $name = $page->get_name($uuid); -$name !== null or die(str_replace("{name}", $name, $page->t("error.name.unseen"))); +$name !== null or die(str_replace("{name}", "null", $page->t("error.name.unseen"))); if ($staffhistory) { $page->title = $page->t("title.staff-history");