From c2de6e80d21b5f002947f2df62f61cdcc99e17af Mon Sep 17 00:00:00 2001 From: jlb Date: Mon, 3 Feb 2003 11:39:48 +0000 Subject: [PATCH] probleme lors du precedent commit .. --- htdocs/adherent.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherent.class.php b/htdocs/adherent.class.php index b87d4b9aad7..cad2331b34f 100644 --- a/htdocs/adherent.class.php +++ b/htdocs/adherent.class.php @@ -283,11 +283,11 @@ class Adherent */ /* Fetch adherent corresponding to login passed in argument */ Function fetch_login($login){ - $sql = "SELECT d.rowid FROM llx_adherent WHERE login='$login' LIMIT 1"; + $sql = "SELECT rowid FROM llx_adherent WHERE login='$login' LIMIT 1"; if ( $this->db->query( $sql) ){ if ($this->db->num_rows()){ $obj = $this->db->fetch_object(0); - fetch($obj->rowid); + $this->fetch($obj->rowid); } }else{ print $this->db->error();