Commit abae1425 authored by Feu's avatar Feu
Browse files

debug

parent 9b24a636
......@@ -838,7 +838,8 @@ class utilisateur extends stdentity
$req = new requete($this->db,
"SELECT id_utilisateur ".
"FROM `utl_etu_utbm` ".
"WHERE `utl_etu_utbm`.`email_utbm` = '" . mysql_real_escape_string($email_utbm) . "'");
"WHERE `email_utbm`='".mysql_real_escape_string($email_utbm)."' "
"AND id_utilisateur`!='".mysql_real_escape_string($this->id)."' ");
if ( $req->lines > 0 )
return false;
......@@ -847,7 +848,7 @@ class utilisateur extends stdentity
$req = new requete($this->db,
"SELECT id_utilisateur ".
"FROM `utl_etu_utbm` ".
"WHERE `utl_etu_utbm`.`id_utilisateur` = '" . mysql_real_escape_string($this->id) . "'");
"WHERE `id_utilisateur` = '" . mysql_real_escape_string($this->id) . "'");
if ( $req->lines == 0 )
{
// Crée l'entrée dans la table utl_etu_utbm (qui a vocation à devenir utl_utbm)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment