fix translation strings and update session lifetime to default panel sessiontimeout

Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
Maurice Preuß (envoyr)
2022-12-20 21:27:53 +01:00
parent 4acd1d4ef6
commit 996b2e4a78
4 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ class Install
{
// TODO: do validations
if (isset($field['mandatory']) && $field['mandatory'] && empty($attribute)) {
throw new Exception(lng('install.errors.mandatory_field_not_set', [htmlspecialchars($field['label'])]));
throw new Exception(lng('install.errors.mandatory_field_not_set', [$field['label']]));
}
return $attribute;
}