Skip to content

Commit

Permalink
rexstan level 9
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Sep 20, 2022
1 parent 118693f commit 1760c91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@
$replace = '<i title="Mode: Lock Backend" class="rex-icon fa-exclamation-triangle aktivieren_backend">';
$subject = $magic->getSubject();
if (is_string($subject)) {
$magic->setSubject(str_replace($header, $replace, $subject));
$out = str_replace($header, $replace, $subject);
$magic->setSubject($out);
}
});
}
Expand All @@ -161,7 +162,8 @@
$ersetzen = '<i title="Mode: Lock Frontend" class="rex-icon fa-exclamation-triangle aktivieren_frontend">';
$subject = $ep->getSubject();
if (is_string($subject)) {
$ep->setSubject(str_replace($suchmuster, $ersetzen, $subject));
$out = str_replace($suchmuster, $ersetzen, $subject);
$ep->setSubject($out);
}
});
}
Expand Down

0 comments on commit 1760c91

Please sign in to comment.