[isf-wifidog] a little error in the code

Francois Proulx fproulx at edito.qc.ca
Sam 10 Sep 21:10:03 EDT 2005


Good point, I'll have a look at it.

Thanks again.

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




More information about the WiFiDog mailing list