mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-5568-case-insensitive-para-el-buscador-de-usuarios' into 'develop'
Ent 5568 case insensitive para el buscador de usuarios See merge request artica/pandorafms!3244
This commit is contained in:
commit
a8328bd4f1
@ -367,11 +367,11 @@ if ($search) {
|
|||||||
$found = false;
|
$found = false;
|
||||||
|
|
||||||
if (!empty($filter_search)) {
|
if (!empty($filter_search)) {
|
||||||
if (preg_match('/.*'.$filter_search.'.*/', $user_info['fullname']) != 0) {
|
if (preg_match('/.*'.strtolower($filter_search).'.*/', strtolower($user_info['fullname'])) != 0) {
|
||||||
$found = true;
|
$found = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preg_match('/.*'.$filter_search.'.*/', $user_info['id_user']) != 0) {
|
if (preg_match('/.*'.strtolower($filter_search).'.*/', strtolower($user_info['id_user'])) != 0) {
|
||||||
$found = true;
|
$found = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user