aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);