summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-16 19:48:20 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:14 +0100
commite8b69d45a3afd9633b997eb178e159f9f97f4766 (patch)
treec73bfd48bbc344de391c18aa17071e3fcaa85276 /apps/calendar
parentf47444e1f776912cbf141ec9cc3763110f4e3552 (diff)
downloadnextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.tar.gz
nextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.zip
Fixup use of OC_Helper::linkTo function
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/search.php b/apps/calendar/lib/search.php
index 425c93c7338..0016751a66a 100644
--- a/apps/calendar/lib/search.php
+++ b/apps/calendar/lib/search.php
@@ -36,7 +36,7 @@ class OC_Search_Provider_Calendar extends OC_Search_Provider{
}else{
$info = $l->t('Date') . ': ' . $start_dt->format('d.m.y H:i') . ' - ' . $end_dt->format('d.m.y H:i');
}
- $link = OC_Helper::linkTo('apps/calendar', 'index.php?showevent='.urlencode($object['id']));
+ $link = OC_Helper::linkTo('calendar', 'index.php').'?showevent='.urlencode($object['id']);
$results[]=new OC_Search_Result($object['summary'],$info, $link,$l->t('Cal.'));//$name,$text,$link,$type
}
}