From 45a9933524f9a31e0a104cccfd082217501017ba Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Tue, 9 Mar 2010 11:42:34 +0100 Subject: Move data preprocessing out of html_edit --- doku.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doku.php') 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']; -- cgit v1.2.3