Commit 945474c2 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-947 Log warning only if the folder is not found.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 97a6ae6c
......@@ -94,8 +94,10 @@ class ExportChangesICS implements IExportChanges{
$folder = false;
if ($entryid) {
$folder = mapi_msgstore_openentry($this->store, $entryid);
if (!$folder) {
ZLog::Write(LOGLEVEL_WARN, sprintf("ExportChangesICS(): Error, mapi_msgstore_openentry() failed: 0x%08X", mapi_last_hresult()));
}
}
// Get the actual ICS exporter
if($folderid) {
......
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