aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/NativeWikiPage.php
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-10-08 17:22:39 +0000
committerMario <mario@mariovavti.com>2018-10-10 11:05:34 +0200
commitd8f79f48e9b4859383eaeea35da6d32045f55ae1 (patch)
treeeaea8974c1d2b71f486a31334ef1b160bffae58b /Zotlabs/Lib/NativeWikiPage.php
parentbf878dc4461ea28f71055d59496b21a1685ef63e (diff)
downloadvolse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.tar.gz
volse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.tar.bz2
volse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.zip
Rework Wiki encoding scheme.
(cherry picked from commit 709665846e66f093109730691b31d9e094d02088)
Diffstat (limited to 'Zotlabs/Lib/NativeWikiPage.php')
-rw-r--r--Zotlabs/Lib/NativeWikiPage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php
index d0f522ec1..ebdcb4740 100644
--- a/Zotlabs/Lib/NativeWikiPage.php
+++ b/Zotlabs/Lib/NativeWikiPage.php
@@ -100,7 +100,7 @@ class NativeWikiPage {
'rawName' => $name,
'htmlName' => escape_tags($name),
//'urlName' => urlencode($name),
- Zlib\NativeWiki::name_encode($name)
+ 'urlName' => Zlib\NativeWiki::name_encode($name)
];
@@ -368,7 +368,6 @@ class NativeWikiPage {
unset($item['id']);
unset($item['author']);
-
$item['parent'] = 0;
$item['body'] = $content;
$item['author_xchan'] = $observer_hash;