fix travis failure

This commit is contained in:
KreizIT 2014-08-08 15:00:03 +02:00
parent c9c54e38cc
commit 5514598536
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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 '<br>('.dol_trunc($event->icalname,$maxnbofchar).')';