Update of /cvsroot/xoops/xoops-current/html/class
In directory usw-pr-cvs1:/tmp/cvs-serv19725
Modified Files:
xoopsmailer.php
Log Message:
no message
Index: xoopsmailer.php
===================================================================
RCS file: /cvsroot/xoops/xoops-current/html/class/xoopsmailer.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** xoopsmailer.php 5 Sep 2002 04:12:26 -0000 1.2
--- xoopsmailer.php 20 Sep 2002 17:04:45 -0000 1.3
***************
*** 309,313 ****
function setToEmails($email){
if ( !is_array($email) ) {
! if (eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$",$email) ) {
array_push($this->toEmails, $email);
}
--- 309,313 ----
function setToEmails($email){
if ( !is_array($email) ) {
! if (preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$/i",$email) ) {
array_push($this->toEmails, $email);
}
|