Fixed formatting

This commit is contained in:
Igor Scheller 2021-10-23 17:19:19 +02:00
parent a68c8ae6d2
commit 2cfce86e25
2 changed files with 3 additions and 2 deletions

View File

@ -450,7 +450,7 @@ function form_element($label, $input, $for = '', $class = '')
*/
function form($elements, $action = '', $inline = false, $btnGroup = false)
{
return '<form action="' . $action . '" enctype="multipart/form-data" method="post"'
return '<form action="' . $action . '" enctype="multipart/form-data" method="post"'
. ($btnGroup ? ' class="btn-group"' : '')
. ($inline ? ' style="float:left"' : '') . '>'
. join($elements)

View File

@ -112,7 +112,8 @@ class UserShirtController extends BaseController
$user->state->save();
$this->log->info(
'Updated user shirt state "{user}" ({id}): {size}, arrived: {arrived}, active: {active}, got shirt: {got_shirt}',
'Updated user shirt state "{user}" ({id}): '
. '{size}, arrived: {arrived}, active: {active}, got shirt: {got_shirt}',
[
'id' => $user->id,
'user' => $user->name,