Skip to content
Permalink
Browse files

Fix php73 notice

  • Loading branch information...
flack committed Nov 1, 2019
1 parent 3490f3c commit 357fbf4a08791c416d0cd7fbf67f93712e201e0a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/midcom/datamanager/template/form.php
@@ -43,7 +43,7 @@ public function form_errors(FormView $view, array $data)
$params = $error->getMessageParameters();
$message = $error->getMessage();
foreach ($params as $param) {
if (strpos($message, $param)) {
if (strpos($message, (string) $param)) {
$message = str_replace($param, $this->renderer->humanize($param), $message);
}
}

0 comments on commit 357fbf4

Please sign in to comment.
You can’t perform that action at this time.