diff options
author | Friendika <info@friendika.com> | 2011-06-30 23:23:50 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-30 23:23:50 -0700 |
commit | 086dc25dd1d3e4bb23444948a508aa0c8ee03dc5 (patch) | |
tree | 1932803ba276bc1adb8c5a305552262166554569 | |
parent | 762fb878f838e329dd2e0245b1f597203c3833b6 (diff) | |
download | volse-hubzilla-086dc25dd1d3e4bb23444948a508aa0c8ee03dc5.tar.gz volse-hubzilla-086dc25dd1d3e4bb23444948a508aa0c8ee03dc5.tar.bz2 volse-hubzilla-086dc25dd1d3e4bb23444948a508aa0c8ee03dc5.zip |
logic reversed
-rw-r--r-- | mod/events.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php index 879a66742..b0b54601f 100644 --- a/mod/events.php +++ b/mod/events.php @@ -232,7 +232,7 @@ function events_content(&$a) { $o .= '<hr /><a name="link-' . $j . '" ><div class="event-list-date">' . $d . '</div></a>'; $last_date = $d; $o .= format_event_html($rr); - $o .= (($rr['cid']) ? '<a href="' . $a->get_baseurl() . '/events/event/' . $rr['id'] . '" title="' . t('Edit event') . '" class="edit-event-link icon pencil"></a>' : ''); + $o .= ((! $rr['cid']) ? '<a href="' . $a->get_baseurl() . '/events/event/' . $rr['id'] . '" title="' . t('Edit event') . '" class="edit-event-link icon pencil"></a>' : ''); if($rr['plink']) $o .= '<a href="' . $rr['plink'] . '" title="' . t('link to source') . '" target="external-link" class="plink-event-link icon remote-link"></a></div>'; |