unable to change permissions on wiki with space in name

This commit is contained in:
zotlabs 2017-11-08 21:19:03 -08:00
parent 7dad842f35
commit 40c625158f

View File

@ -494,7 +494,7 @@ class Wiki extends \Zotlabs\Web\Controller {
return; //not reached
}
$wiki = Zlib\NativeWiki::exists_by_name($owner['channel_id'], $arr['urlName']);
$wiki = Zlib\NativeWiki::exists_by_name($owner['channel_id'], urldecode($arr['urlName']));
if($wiki['resource_id']) {