aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-21 10:34:40 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-21 10:34:40 +0100
commit81d556d32e2a36c62078184848391b0f9b85c3e1 (patch)
tree90914c3855d99f1d56d6c6b01047ac7a4dd954bd /include/widgets.php
parent5ad5a0fa07e018b2216b38f0a3e31df763491982 (diff)
downloadvolse-hubzilla-81d556d32e2a36c62078184848391b0f9b85c3e1.tar.gz
volse-hubzilla-81d556d32e2a36c62078184848391b0f9b85c3e1.tar.bz2
volse-hubzilla-81d556d32e2a36c62078184848391b0f9b85c3e1.zip
wrong permission
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index cb8a6133e..bff2f0ab8 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -959,7 +959,7 @@ function widget_wiki_pages($arr) {
}
}
}
- $can_create = perm_is_allowed(\App::$profile['uid'],get_observer_hash(),'write_pages');
+ $can_create = perm_is_allowed(\App::$profile['uid'],get_observer_hash(),'write_wiki');
$can_delete = ((local_channel() && (local_channel() == \App::$profile['uid'])) ? true : false);