Commit 14ab36ed authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #261 in ZP/z-push from...

Merge pull request #261 in ZP/z-push from bugfix/ZP-947-on-exporter-failure-outlook-does-not to develop

* commit '945474c2':
  ZP-947 Log warning only if the folder is not found.
parents b0624ca4 945474c2
...@@ -94,7 +94,9 @@ class ExportChangesICS implements IExportChanges{ ...@@ -94,7 +94,9 @@ class ExportChangesICS implements IExportChanges{
$folder = false; $folder = false;
if ($entryid) { if ($entryid) {
$folder = mapi_msgstore_openentry($this->store, $entryid); $folder = mapi_msgstore_openentry($this->store, $entryid);
ZLog::Write(LOGLEVEL_WARN, sprintf("ExportChangesICS(): Error, mapi_msgstore_openentry() failed: 0x%08X", mapi_last_hresult())); if (!$folder) {
ZLog::Write(LOGLEVEL_WARN, sprintf("ExportChangesICS(): Error, mapi_msgstore_openentry() failed: 0x%08X", mapi_last_hresult()));
}
} }
// Get the actual ICS exporter // Get the actual ICS exporter
......
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