projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58b073
)
Fix hasPermission() call.
author
Jan Schneider
<jan@horde.org>
Tue, 7 Dec 2010 14:40:40 +0000
(15:40 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 7 Dec 2010 14:40:40 +0000
(15:40 +0100)
kronolith/edit.php
patch
|
blob
|
history
diff --git
a/kronolith/edit.php
b/kronolith/edit.php
index
170efa6
..
9032051
100644
(file)
--- a/
kronolith/edit.php
+++ b/
kronolith/edit.php
@@
-61,7
+61,7
@@
do {
}
$event = $kronolith_driver->getEvent(Horde_Util::getFormData('eventID'));
- if (!$kronolith_calendar->hasPermission(
$registry->getAuth(), Horde_Perms::EDIT
, $event->creator)) {
+ if (!$kronolith_calendar->hasPermission(
Horde_Perms::EDIT, $registry->getAuth()
, $event->creator)) {
$notification->push(_("You do not have permission to edit this event."), 'horde.warning');
break;
}