Skip to content
Snippets Groups Projects
Commit 88b49b8d authored by enured's avatar enured
Browse files

Merge remote-tracking branch 'origin/develop' into F14320_Allow_specific_HTML_Tags_TinyMCE

parents 5b6e3529 df78d01b
No related branches found
No related tags found
3 merge requests!495New version 22.12.0,!480F14320: Implemented htmlAllow parameter for tinyMce as clientside check and...,!471F14320: Implemented htmlAllow parameter for tinyMce as clientside check and...
......@@ -508,7 +508,7 @@ class OnArray {
*/
public static function getFirstValueFromArray($arr): string {
if (empty($arr) || !is_array($arr)) {
if (!is_array($arr)) {
return $arr;
}
......@@ -522,6 +522,11 @@ class OnArray {
} else {
$value = $values[0];
}
if (empty($value)) {
$value = '';
}
return $value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment