diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-03-09 11:42:34 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-03-09 12:06:59 +0100 |
commit | 45a9933524f9a31e0a104cccfd082217501017ba (patch) | |
tree | 1496e69b25ff8a32bd86bb226d42ec7c4d32a255 /doku.php | |
parent | ffde0ac9c67ac7dea5886a325e05300c3a88c163 (diff) | |
download | rpg-45a9933524f9a31e0a104cccfd082217501017ba.tar.gz rpg-45a9933524f9a31e0a104cccfd082217501017ba.tar.bz2 |
Move data preprocessing out of html_edit
Diffstat (limited to 'doku.php')
-rw-r--r-- | doku.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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']; |