aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-19 10:02:26 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-19 10:02:26 +0100
commit4295b1945e08b7e93286b4e51c3ba26a3828f80b (patch)
treee27e88083b2e153e90c445c776b7774d68905c9a /Zotlabs/Module
parent5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e (diff)
downloadvolse-hubzilla-4295b1945e08b7e93286b4e51c3ba26a3828f80b.tar.gz
volse-hubzilla-4295b1945e08b7e93286b4e51c3ba26a3828f80b.tar.bz2
volse-hubzilla-4295b1945e08b7e93286b4e51c3ba26a3828f80b.zip
we need channel_id here not the whole channel
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Wiki.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 9adcc91b0..20a5eb35f 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -313,7 +313,7 @@ class Wiki extends \Zotlabs\Web\Controller {
if((argc() > 2) && (argv(2) === 'preview')) {
$content = $_POST['content'];
$resource_id = $_POST['resource_id'];
- $w = Zlib\NativeWiki::get_wiki($owner,$observer_hash,$resource_id);
+ $w = Zlib\NativeWiki::get_wiki($owner['channel_id'],$observer_hash,$resource_id);
$wikiURL = argv(0) . '/' . argv(1) . '/' . $w['urlName'];