29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-27 07:33:41 +00:00

In com_tags, a tagged element's text-variable is transformed into null if the value is empty. (#40048)

This commit is contained in:
Sven Bluege 2023-03-10 04:33:08 +01:00 committed by GitHub
parent 7b8c10cb4a
commit bdbc50312b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ class HtmlView extends BaseHtmlView
$itemElement->event = new \stdClass();
// For some plugins.
$itemElement->text = !empty($itemElement->core_body) ? $itemElement->core_body : null;
$itemElement->text = !empty($itemElement->core_body) ? $itemElement->core_body : '';
$itemElement->core_params = new Registry($itemElement->core_params);