mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:00:12 +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)) {
|
if(isset($query->rows)) {
|
||||||
foreach ($query->rows as $q) {
|
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