From 94d88c03b9226a74f0194b4950f6a4da45d01e44 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 20 May 2004 19:45:45 +0000 Subject: [PATCH] match spam against this-\>textbox1 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1