diff --git a/html/user_login.php b/html/user_login.php index d7b8d2c53..dbaf14f4a 100644 --- a/html/user_login.php +++ b/html/user_login.php @@ -137,7 +137,7 @@ echo $w->input('p_nom',$p_nom); ?> diff --git a/include/class_user.php b/include/class_user.php index 3cb744c3a..9469b08e8 100644 --- a/include/class_user.php +++ b/include/class_user.php @@ -965,7 +965,7 @@ class User join priv_user on ( priv_jnt=jnt_id) where use_active=1 and use_login='".sql_string($this->login)."' - and priv_priv != 'X' and dos_name ilike '%$p_filter%' + and priv_priv != 'X' and ( dos_name ilike '%$p_filter%' or dos_description ~* '$p_filter') order by dos_name"; } else