diff options
Diffstat (limited to 'Zotlabs/Lib/NativeWiki.php')
-rw-r--r-- | Zotlabs/Lib/NativeWiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php index ccb0ff150..519102d24 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -201,7 +201,7 @@ class NativeWiki { else { // TODO: Create a new permission setting for wiki analogous to webpages. Until // then, use webpage permissions - $write = perm_is_allowed($owner_id, $observer_hash,'write_pages'); + $write = perm_is_allowed($owner_id, $observer_hash,'write_wiki'); return array('read' => true, 'write' => $write, 'success' => true); } } |