From: Gabriel Wicke Date: Thu, 20 May 2004 19:45:45 +0000 (+0000) Subject: match spam against this-\>textbox1 X-Git-Tag: 1.3.0beta1~13 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=94d88c03b9226a74f0194b4950f6a4da45d01e44;p=lhc%2Fweb%2Fwiklou.git match spam against this-\>textbox1 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index e75b92252a..d359255f50 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -130,7 +130,7 @@ class EditPage { if ( "save" == $formtype ) { # Check for spam - if ( $wgSpamRegex && preg_match( $wgSpamRegex, $wpTextbox1 ) ) { + if ( preg_match( $wgSpamRegex, $this->textbox1 ) ) { sleep(10); $wgOut->redirect( $this->mTitle->getFullURL() ); return;