Commit ef6b8e1d authored by Bart Vullings's avatar Bart Vullings

ZP-1319 Caldav empty DESCRIPTION. Released under the Affero GNU General Public...

ZP-1319 Caldav empty DESCRIPTION. Released under the Affero GNU General Public License (AGPL) version 3.
parent 3ccbfd83
...@@ -1082,7 +1082,7 @@ class BackendCalDAV extends BackendDiff { ...@@ -1082,7 +1082,7 @@ class BackendCalDAV extends BackendDiff {
} }
} }
} }
if (isset($data->body)) { if (isset($data->body) && strlen($data->body) > 0) {
$vevent->AddProperty("DESCRIPTION", $data->body); $vevent->AddProperty("DESCRIPTION", $data->body);
} }
if (isset($data->asbody->data)) { if (isset($data->asbody->data)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment