wrong permission

This commit is contained in:
Mario Vavti 2017-02-21 10:34:40 +01:00
parent 5ad5a0fa07
commit 81d556d32e

View file

@ -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);