* 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 c919f4b27d
commit a85b13a487

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