From 70ea7a1dc7068c1a7b96df94edea1582aa83fac6 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 28 May 2010 12:43:59 -0400 Subject: [PATCH] fix parse error --- kronolith/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() && -- 2.11.0