aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-14 12:01:16 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-14 12:01:16 +0100
commit192df273ccd2b9f527b44622379ebb6142fcc611 (patch)
tree75ccb3ed24afb691fc7251e4f7e55b35463bbd44 /include
parentcf5c803fe0ebd976031584ee788eb5d762e8a798 (diff)
downloadvolse-hubzilla-192df273ccd2b9f527b44622379ebb6142fcc611.tar.gz
volse-hubzilla-192df273ccd2b9f527b44622379ebb6142fcc611.tar.bz2
volse-hubzilla-192df273ccd2b9f527b44622379ebb6142fcc611.zip
show wiki controls only to owner and whitespace fixes
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index ff97b8bd5..071622387 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -917,7 +917,7 @@ function widget_wiki_list($arr) {
'$channel' => $channel['channel_address'],
'$wikis' => $wikis['wikis'],
// If the observer is the local channel owner, show the wiki controls
- '$showControls' => ((local_channel() === intval($channel['channel_id'])) ? true : false)
+ '$owner' => ((local_channel() === intval($channel['channel_id'])) ? true : false)
));
}
return '';