From 4e9103830c397fd1af51de9040bd2a047ea8009e Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Nov 2013 14:18:07 -0800 Subject: clicking on an event notification from somebody else should take you to view event - not edit event. Need to also check permissions on event module because reaching this form shouldn't have been possible without event write permissions. --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/ping.php b/mod/ping.php index 76d84d0e4..414f06e53 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -253,7 +253,7 @@ function ping_init(&$a) { $result[] = array( - 'notify_link' => $a->get_baseurl() . '/events/event/' . $rr['event_hash'], + 'notify_link' => $a->get_baseurl() . '/events', // FIXME this takes you to an edit page and it may not be yours, we really want to just view the single event --> '/events/event/' . $rr['event_hash'], 'name' => $rr['xchan_name'], 'url' => $rr['xchan_url'], 'photo' => $rr['xchan_photo_s'], -- cgit v1.2.3