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:
parent
7b8c10cb4a
commit
bdbc50312b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user