* Calendar/Resources: do NOT try to notify a not set resource responsible

This commit is contained in:
Ralf Becker 2020-08-18 14:23:49 +02:00
parent f63a0a6075
commit bdb1b50799

View File

@ -959,7 +959,7 @@ class calendar_boupdate extends calendar_bo
} }
$userid = $res_info['responsible']; $userid = $res_info['responsible'];
if (!isset($userid)) if (empty($userid)) // no resource responsible: $userid===0
{ {
if (empty($res_info['email'])) continue; // no way to notify if (empty($res_info['email'])) continue; // no way to notify
// check if event-owner wants non-EGroupware users notified // check if event-owner wants non-EGroupware users notified