mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
validemail() to model/user/user.php
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
6ce7efd1ed
commit
2a51a44034
@ -84,7 +84,7 @@ class ModelUserUser extends Model {
|
||||
|
||||
if(isset($query->rows)) {
|
||||
foreach ($query->rows as $q) {
|
||||
if(!in_array($q['email'], $data)) { array_push($data, $q['email']); }
|
||||
if(validemail($q['email']) && !in_array($q['email'], $data)) { array_push($data, $q['email']); }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user