aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-13 14:18:07 -0800
committerfriendica <info@friendica.com>2013-11-13 14:18:07 -0800
commit4e9103830c397fd1af51de9040bd2a047ea8009e (patch)
tree9f6cd51c414fb530920b252dc65fe1a3c8f489fe
parent251ba6db30d9f75d1e9e03e5bed6c5dec2c4402b (diff)
downloadvolse-hubzilla-4e9103830c397fd1af51de9040bd2a047ea8009e.tar.gz
volse-hubzilla-4e9103830c397fd1af51de9040bd2a047ea8009e.tar.bz2
volse-hubzilla-4e9103830c397fd1af51de9040bd2a047ea8009e.zip
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.
-rw-r--r--mod/ping.php2
1 files changed, 1 insertions, 1 deletions
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'],