aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-06 22:56:08 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-06 22:56:08 -0700
commit90591bcbc9ddba44cd44fc8ce06014c5ef9443e4 (patch)
tree7d0ec7f7fca1df6c41e15502f5bd29beb8b04055 /mod/events.php
parentd01206af5ae7b939d0eff332f017e9511f77dbae (diff)
downloadvolse-hubzilla-90591bcbc9ddba44cd44fc8ce06014c5ef9443e4.tar.gz
volse-hubzilla-90591bcbc9ddba44cd44fc8ce06014c5ef9443e4.tar.bz2
volse-hubzilla-90591bcbc9ddba44cd44fc8ce06014c5ef9443e4.zip
missed one...
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php
index 289ddfb15..ba7ef6b7d 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -415,7 +415,7 @@ function events_content(&$a) {
$last_date = $d;
// FIXME
- $edit = (($rr['item_flags'] & ITEM_WALL) ? array($a->get_baseurl().'/events/event/'.$rr['event_hash'],t('Edit event'),'','') : null);
+ $edit = ((intval($rr['item_wall'])) ? array($a->get_baseurl().'/events/event/'.$rr['event_hash'],t('Edit event'),'','') : null);
$drop = array($a->get_baseurl().'/events/drop/'.$rr['event_hash'],t('Delete event'),'','');
$title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8'));