[isf-wifidog] a little error in the code

kaouete kaouete at crazydwarves.org
Sam 10 Sep 20:47:04 EDT 2005


sorry, i forgot the existence of the bug tracker :/

i will post it there :]

a+

kaouete

On Sun, Sep 11, 2005 at 02:35:09AM +0200, kaouete wrote:
> 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



> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
-------------- 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/7585864b/attachment.pgp


More information about the WiFiDog mailing list