From b6b000dd59cbb55771541d0e217ee24a7336573c Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 25 Jun 2015 14:21:12 +0200 Subject: [PATCH] delete $md (event-links) because event ID is used --- boot.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/boot.php b/boot.php index e6a2a3a204..feb7533010 100644 --- a/boot.php +++ b/boot.php @@ -1852,12 +1852,6 @@ if(! function_exists('get_events')) { $skip = 0; foreach($r as &$rr) { - if($rr['adjust']) - $md = datetime_convert('UTC',$a->timezone,$rr['start'],'Y/m'); - else - $md = datetime_convert('UTC','UTC',$rr['start'],'Y/m'); - $md .= "/#link-".$rr['id']; - $title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8')); if(strlen($title) > 35) @@ -1875,8 +1869,7 @@ if(! function_exists('get_events')) { } $today = ((substr($strt,0,10) === datetime_convert('UTC',$a->timezone,'now','Y-m-d')) ? true : false); - - $rr['link'] = $md; + $rr['title'] = $title; $rr['description'] = $desciption; $rr['date'] = day_translate(datetime_convert('UTC', $rr['adjust'] ? $a->timezone : 'UTC', $rr['start'], $bd_format)) . (($today) ? ' ' . t('[today]') : '');