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.
This commit is contained in:
parent
251ba6db30
commit
4e9103830c
@ -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'],
|
||||
|
Reference in New Issue
Block a user