dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d88c0
)
accidentially removed the test for
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 19:51:41 +0000
(19:51 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 19:51:41 +0000
(19:51 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
d359255
..
d9959ae
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-130,7
+130,7
@@
class EditPage {
if ( "save" == $formtype ) {
# Check for spam
- if ( preg_match( $wgSpamRegex, $this->textbox1 ) ) {
+ if (
$wgSpamRegex &&
preg_match( $wgSpamRegex, $this->textbox1 ) ) {
sleep(10);
$wgOut->redirect( $this->mTitle->getFullURL() );
return;