mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Fix deprecation warnings for str_replace() (fixes #87)
This commit is contained in:
parent
954b2c69c3
commit
20817dd8ff
@ -83,7 +83,7 @@ if (strstr($arg0, ":issued")) {
|
|||||||
$uuid = $page->uuid_dashify($arg0);
|
$uuid = $page->uuid_dashify($arg0);
|
||||||
$name = $page->get_name($uuid);
|
$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) {
|
if ($staffhistory) {
|
||||||
$page->title = $page->t("title.staff-history");
|
$page->title = $page->t("title.staff-history");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user