aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-28 11:54:36 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-28 11:54:36 +0100
commitd8774cda8ed0bec9dbbe8638fd7af5307d569805 (patch)
treed7562bd125d621f5d3e362f172134512edffcfdf /Zotlabs/Module
parent1ce4eda0b92e13615991ec22d3b789c640991431 (diff)
downloadvolse-hubzilla-d8774cda8ed0bec9dbbe8638fd7af5307d569805.tar.gz
volse-hubzilla-d8774cda8ed0bec9dbbe8638fd7af5307d569805.tar.bz2
volse-hubzilla-d8774cda8ed0bec9dbbe8638fd7af5307d569805.zip
minor cleanup and remove more double encoding
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 8069afc7c..37ebe2a38 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -390,7 +390,7 @@ class Wiki extends \Zotlabs\Web\Controller {
'files' => array($page['page']['urlName'].'.md')
));
if($commit['success']) {
- json_return_and_die(array('url' => '/'.argv(0).'/'.argv(1).'/'.$page['wiki']['urlName'].'/'.urlencode($page['page']['urlName']), 'success' => true));
+ json_return_and_die(array('url' => '/'.argv(0).'/'.argv(1).'/'.$page['wiki']['urlName'].'/'.$page['page']['urlName'], 'success' => true));
} else {
json_return_and_die(array('message' => 'Error making git commit','url' => '/'.argv(0).'/'.argv(1).'/'.$page['wiki']['urlName'].'/'.urlencode($page['page']['urlName']),'success' => false));
}