diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index fc9af8c5f..125675fac 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -693,8 +693,10 @@ if(isMobile() && setting('Utilizzare i tooltip sul calendario')){ }else{ echo ' eventClick: function(info) { - info.jsEvent.preventDefault(); - location.href = info.event.extendedProps.link; + if (info.event.extendedProps.link !== undefined) { + info.jsEvent.preventDefault(); + location.href = info.event.extendedProps.link; + } },'; }