[isf-wifidog] a little error in the code

kaouete kaouete at crazydwarves.org
Sam 10 Sep 20:35:09 EDT 2005


I think there is a little error in classes/Authenticator.php line
74 :

sql = "SELECT conn_id FROM connections WHERE user_id =
'{$user->getId()}' AND node_id={$node->getId()} AND
token_status='".TOKEN_INUSE."';\n";

should be 

$sql = "SELECT conn_id FROM connections WHERE user_id =
'{$user->getId()}' AND node_id = '{$node->getId()}' AND
token_status='".TOKEN_INUSE."';\n";

{$node->getId()} should be quoted.

kaouete
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Digital signature
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20050911/eb488d8f/attachment.pgp


More information about the WiFiDog mailing list