aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Cloud_tiles.php4
-rw-r--r--Zotlabs/Module/Wiki.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cloud_tiles.php b/Zotlabs/Module/Cloud_tiles.php
index 45124cdfa..da551904f 100644
--- a/Zotlabs/Module/Cloud_tiles.php
+++ b/Zotlabs/Module/Cloud_tiles.php
@@ -11,6 +11,10 @@ class Cloud_tiles extends \Zotlabs\Web\Controller {
else
$_SESSION['cloud_tiles'] = 1;
+ if(local_channel()) {
+ set_pconfig(local_channel(),'system','cloud_tiles',$_SESSION['cloud_tiles']);
+ }
+
goaway(z_root() . '/' . hex2bin(argv(1)));
}
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index d6a01af11..2d2d8e2b7 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -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']) {