aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-06 12:40:27 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-06 12:40:27 +0100
commita604236d89a843a10af1a87f5e9a5cdac153b3ab (patch)
tree05c1a273a378ccf02bc19cfb32c8f5be7391abff /Zotlabs/Module
parent5024fe3e2df65314a288c68fece97aa487c4ad2f (diff)
downloadvolse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.tar.gz
volse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.tar.bz2
volse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.zip
missed a spot while resolving merge conflict
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 4ccb3b5db..ae543eb98 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -575,7 +575,7 @@ class Wiki extends \Zotlabs\Web\Controller {
// backslashes won't work well in the javascript functions
$name = str_replace('\\','',$name);
- if(urlencode(escape_tags($_POST['pageName'])) === '') {
+ if(urlencode(escape_tags($name)) === '') {
json_return_and_die(array('message' => 'Error creating page. Invalid name (' . print_r($_POST,true) . ').', 'success' => false));
}