Commit:    ceb990c913b9187cce986ed9806c15627e7d5f92
Author:    Derick Rethans <[email protected]>         Mon, 20 Jul 2020 
10:23:22 +0100
Parents:   f27ce31a9398926894aa9fa5130686e047995711
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=ceb990c913b9187cce986ed9806c15627e7d5f92

Log:
Still not learning

Changed paths:
  M  include/functions.php


Diff:
diff --git a/include/functions.php b/include/functions.php
index 0cad11e..6e873da 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -248,7 +248,7 @@ function is_spam($string)
 /* Primitive check for SPAMmy user. Add more later. */
 function is_spam_user($email)
 {
-    if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports@gmail)/i", 
$email)) {
+    if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports\d*@gmail)/i", 
$email)) {
         return true;
     }
     return false;


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to