fix for egroupware.org bug #2824: SyncML ingnored multiline descriptions in infolog

This commit is contained in:
Jörg Lehrke 2011-06-02 18:16:27 +00:00
parent dc78b0a525
commit b958ad8f8c

View File

@ -864,7 +864,7 @@ class infolog_ical extends infolog_bo
$txt = $GLOBALS['egw']->translation->convert($_data, $charset);
$txt = str_replace("\r\n", "\n", $txt);
if (preg_match('/([^\n]+)\n\n(.*)/m', $txt, $match))
if (preg_match('/([^\n]+)\n\n(.*)/ms', $txt, $match))
{
$note['info_subject'] = $match[1];
$note['info_des'] = $match[2];