Fix #4140: Profile field hint is double encoded

This commit is contained in:
buddh4 2020-07-07 18:53:29 +02:00
parent c577f5d187
commit c19769b1cd
2 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,7 @@ class HForm extends \yii\base\Component
}
if(!empty($definition['hint']) && $field instanceof ActiveField) {
$field->hint(Html::encode($definition['hint']));
$field->hint(Html::encode($definition['hint'], false));
}
return $field;

View File

@ -6,6 +6,7 @@ HumHub Change Log
- Fix #4168: Erroneous pagination in notification overview
- Fix #4060: Profile description and text regex error message not translatable
- Fix #4153: Administration: Email transport configuration 'Save & Test' Gives No Result
- Fix #4140: Profile field hint is double encoded
1.5.2 (May 20, 2020)
--------------------