From 52fcb3b669fe22c90a781f13a0a95ca3bc865953 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Mon, 25 Feb 2008 02:04:07 +0000
Subject: [PATCH] Fix: Portability of SQL request

---
 htdocs/adherents/adherent.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 	
-- 
GitLab