[PHPLIB] a litte bug... From: Haymo Meran (e9526813 <email protected>)
Date: 03/26/00

Hi Guys!!

Nice stuff phplib!

I found a little bug in the distribution 7.2b:

file:view_sessions.php3

bug if the del action is performed:
the query content is:
#############################
       $query = sprintf("delete from %s where name = '%s' and sid = '%s'",
                 $sess->that->database_table,
                 $sess->name,
                 $k);
#############################
I guess the value of sid should bee there instead the key!
#############################
       $query = sprintf("delete from %s where name = '%s' and sid = '%s'",
                 $sess->that->database_table,
                 $sess->name,
                 $v);
#############################
That's all.

Bye haymo
#############################
# Haymo Meran
# Student of process engeneering
# Technical University of Vienna
# e9526813 <email protected>
# http://www.wienlokale.at/haymo
#############################

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.