Fix deprecation warnings for str_replace() (fixes #87)

This commit is contained in:
ruan 2023-01-20 06:11:09 +02:00
parent 954b2c69c3
commit 20817dd8ff

View File

@ -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");