mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +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