From 5514598536dfab7b8c9b4143ffdb2b660279e71f Mon Sep 17 00:00:00 2001 From: KreizIT Date: Fri, 8 Aug 2014 15:00:03 +0200 Subject: [PATCH] fix travis failure --- htdocs/comm/action/fiche.php | 2 +- htdocs/comm/action/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index b6da05ecfd2..6a11985aa6a 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -401,7 +401,7 @@ if ($action == 'mupdate') exit; } - $datep=dol_mktime($shour, $smin, 0,substr($newdate,13,2) , substr($newdate,15,2), substr($newdate,9,4)); + $datep=dol_mktime($shour, $smin, 0, substr($newdate,13,2), substr($newdate,15,2), substr($newdate,9,4)); if ($datep!=$object->datep) { if (!empty($object->datef)) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 1768bb989d4..a2b49628fd2 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -1277,7 +1277,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa // Show title if ($event->type_code == 'ICALEVENT') print dol_trunc($event->libelle,$maxnbofchar); - else print $event->getNomUrl(0,$maxnbofchar,'cal_event id_'.$event->id); + else print $event->getNomUrl(0,$maxnbofchar,'cal_event'); if ($event->type_code == 'ICALEVENT') print '
('.dol_trunc($event->icalname,$maxnbofchar).')';