diff options
author | Mario <mario@mariovavti.com> | 2021-01-15 18:57:56 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-15 18:57:56 +0000 |
commit | 3205429d2481e2ea9e06e505751dee56b401a58a (patch) | |
tree | c8179fedd11a301c7ab86c57984da1097d98d9e8 /Zotlabs/Lib/NativeWikiPage.php | |
parent | aa8eb9522fcaaa04c3a5fc8be1584555cd53617a (diff) | |
download | volse-hubzilla-3205429d2481e2ea9e06e505751dee56b401a58a.tar.gz volse-hubzilla-3205429d2481e2ea9e06e505751dee56b401a58a.tar.bz2 volse-hubzilla-3205429d2481e2ea9e06e505751dee56b401a58a.zip |
more wiki issues
Diffstat (limited to 'Zotlabs/Lib/NativeWikiPage.php')
-rw-r--r-- | Zotlabs/Lib/NativeWikiPage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php index 2877a78f8..71f193b70 100644 --- a/Zotlabs/Lib/NativeWikiPage.php +++ b/Zotlabs/Lib/NativeWikiPage.php @@ -431,12 +431,12 @@ class NativeWikiPage { $channel_id = ((array_key_exists('channel_id',$arr)) ? $arr['channel_id'] : 0); if (! $commitHash) { - return array('content' => $content, 'message' => 'No commit was provided', 'success' => false); + return array('message' => 'No commit was provided', 'success' => false); } $w = Zlib\NativeWiki::get_wiki($channel_id, $observer_hash, $resource_id); if (!$w['wiki']) { - return array('content' => $content, 'message' => 'Error reading wiki', 'success' => false); + return array('message' => 'Error reading wiki', 'success' => false); } $x = $arr; @@ -450,7 +450,7 @@ class NativeWikiPage { $content = $loaded['body']; return [ 'content' => $content, 'success' => true ]; } - return [ 'content' => $content, 'success' => false ]; + return [ 'success' => false ]; } } |