diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-06 12:40:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-06 12:40:27 +0100 |
commit | a604236d89a843a10af1a87f5e9a5cdac153b3ab (patch) | |
tree | 05c1a273a378ccf02bc19cfb32c8f5be7391abff | |
parent | 5024fe3e2df65314a288c68fece97aa487c4ad2f (diff) | |
download | volse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.tar.gz volse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.tar.bz2 volse-hubzilla-a604236d89a843a10af1a87f5e9a5cdac153b3ab.zip |
missed a spot while resolving merge conflict
-rw-r--r-- | Zotlabs/Module/Wiki.php | 2 |
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)); } |