mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Set the bodydescription to empty if it is not visible
This commit is contained in:
parent
3b6257fed2
commit
f7383f54d1
@ -1826,6 +1826,11 @@ class calendar_uiviews extends calendar_ui
|
|||||||
{
|
{
|
||||||
$tpl->set_var('bodydescription', !$is_private ? nl2br(html::htmlspecialchars($event['description'])) : '');
|
$tpl->set_var('bodydescription', !$is_private ? nl2br(html::htmlspecialchars($event['description'])) : '');
|
||||||
}
|
}
|
||||||
|
// set the bodydescription to empty if it is not visible
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$tpl->set_var('bodydescription', '');
|
||||||
|
}
|
||||||
|
|
||||||
$tooltip = $tpl->fp('tooltip','event_tooltip');
|
$tooltip = $tpl->fp('tooltip','event_tooltip');
|
||||||
$html = $tpl->fp('out',$block);
|
$html = $tpl->fp('out',$block);
|
||||||
|
Loading…
Reference in New Issue
Block a user