From: Michael J. Rubinsky Date: Fri, 28 May 2010 16:43:59 +0000 (-0400) Subject: fix parse error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=70ea7a1dc7068c1a7b96df94edea1582aa83fac6;p=horde.git fix parse error --- diff --git a/kronolith/edit.php b/kronolith/edit.php index 92ba81655..8d706d999 100644 --- a/kronolith/edit.php +++ b/kronolith/edit.php @@ -161,7 +161,7 @@ if ($exception = Horde_Util::getFormData('del_exception')) { } if ($event) { - if (isset($sourceShare)) + if (isset($sourceShare) && !$sourceShare->hasPermission(Horde_Auth::getAuth(), Horde_Perms::DELETE)) { $notification->push(_("You do not have permission to move this event."), 'horde.warning'); } elseif ($user != Horde_Auth::getAuth() &&