mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
improve update
This commit is contained in:
@@ -1207,7 +1207,7 @@ if ($restrictemaildomain == 'yes'){
|
||||
$newEmail = trim(strtolower($newEmail));
|
||||
$sql = sql_query("SELECT * FROM allowedemails") or sqlerr(__FILE__, __LINE__);
|
||||
$list = mysql_fetch_array($sql);
|
||||
$addresses = explode(' ', preg_replace("/[[:space:]]+/", " ", trim($list[value])) );
|
||||
$addresses = explode(' ', preg_replace("/[[:space:]]+/", " ", trim($list['value'])) );
|
||||
|
||||
if(count($addresses) > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user