summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-03-09 11:42:34 +0100
committerAdrian Lang <lang@cosmocode.de>2010-03-09 12:06:59 +0100
commit45a9933524f9a31e0a104cccfd082217501017ba (patch)
tree1496e69b25ff8a32bd86bb226d42ec7c4d32a255 /doku.php
parentffde0ac9c67ac7dea5886a325e05300c3a88c163 (diff)
downloadrpg-45a9933524f9a31e0a104cccfd082217501017ba.tar.gz
rpg-45a9933524f9a31e0a104cccfd082217501017ba.tar.bz2
Move data preprocessing out of html_edit
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 5f2d2c582..95d5c3101 100644
--- a/doku.php
+++ b/doku.php
@@ -39,7 +39,9 @@ $RANGE = $_REQUEST['range'];
$HIGH = $_REQUEST['s'];
if(empty($HIGH)) $HIGH = getGoogleQuery();
-$TEXT = cleanText($_POST['wikitext']);
+if (isset($_POST['wikitext'])) {
+ $TEXT = cleanText($_POST['wikitext']);
+}
$PRE = cleanText($_POST['prefix']);
$SUF = cleanText($_POST['suffix']);
$SUM = $_REQUEST['summary'];