diff --git a/htdocs/comm/action/class/ical.class.php b/htdocs/comm/action/class/ical.class.php index 5ba1849f68f4af770cdf12715e6b35376ef9e1f7..e3be36cbfeec543e858c437a438d60de5a64b35a 100644 --- a/htdocs/comm/action/class/ical.class.php +++ b/htdocs/comm/action/class/ical.class.php @@ -1,6 +1,7 @@ <?php /* Copyright (C) 2006 Roman Ozana <ozana@omdesign.cz> * Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es> + * Copyright (C) 2011 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 858d5179f6962e2c965a0516a38b69fed26078f8..9d5521ec3a579e7e3fc5de3d782c68762a1ed655 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -559,7 +559,9 @@ if (sizeof($listofextcals)) $event->datef=$dateend+$usertime; $event->type_code="ICALEVENT"; $event->libelle=$icalevent['SUMMARY']; - if ($icalevent['DESCRIPTION']) $event->libelle.='<br>'.dol_nl2br($icalevent['DESCRIPTION'],1); + + //if showing with dol_trunc is not necessary to add a Description + //if ($icalevent['DESCRIPTION']) $event->libelle.='<br>'.dol_nl2br($icalevent['DESCRIPTION'],1); $event->date_start_in_calendar=$event->datep;