mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:52 +01:00
fix for egroupware.org bug #2824: SyncML ingnored multiline descriptions in infolog
This commit is contained in:
parent
d51981d57f
commit
768ef4c40e
@ -869,7 +869,7 @@ class infolog_ical extends infolog_bo
|
|||||||
$txt = translation::convert($_data, $charset);
|
$txt = translation::convert($_data, $charset);
|
||||||
$txt = str_replace("\r\n", "\n", $txt);
|
$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_subject'] = $match[1];
|
||||||
$note['info_des'] = $match[2];
|
$note['info_des'] = $match[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user