[geeklog-cvs] geeklog: Calendar plugin should check it's own permissions. Fix ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Apr 13 14:07:09 EDT 2011
changeset 8228:c41838b56f4b
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/c41838b56f4b
user: Rouslan Placella <rouslan at placella.com>
date: Wed Apr 13 19:06:38 2011 +0100
description:
Calendar plugin should check it's own permissions. Fix provided by dengen.
diffstat:
plugins/calendar/functions.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7da6e7d8dee7 -r c41838b56f4b plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc Tue Apr 12 20:23:26 2011 -0400
+++ b/plugins/calendar/functions.inc Wed Apr 13 19:06:38 2011 +0100
@@ -820,7 +820,7 @@
$eventform->set_var('lang_zipcode',$LANG_CAL_1[36]);
$eventform->set_var('lang_location', $LANG_CAL_1[39]);
$eventform->set_var('lang_description', $LANG_CAL_1[5]);
- $allowed = COM_allowedHTML('links.edit', false, 2);
+ $allowed = COM_allowedHTML('calendar.edit', false, 2);
$eventform->set_var('lang_allowed_html', $allowed);
PLG_templateSetVars('calendar', $eventform);
$eventform->set_var('lang_submit', $LANG12[8]);
More information about the geeklog-cvs
mailing list