diff --git a/htdocs/adherents/adherent.class.php b/htdocs/adherents/adherent.class.php index 859e2c513f5..4f49830169d 100644 --- a/htdocs/adherents/adherent.class.php +++ b/htdocs/adherents/adherent.class.php @@ -855,7 +855,7 @@ class Adherent extends CommonObject */ function fetch_login($login) { - $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."adherent WHERE login='$login' LIMIT 1"; + $sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."adherent WHERE login='$login'"; $result=$this->db->query( $sql);