cvs: pear /Auth/Container DB.php

From: Date: Fri, 24 Aug 2001 21:19:15 +0000
Subject: cvs: pear /Auth/Container DB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-655@lists.php.net to get a copy of this message
mj Fri Aug 24 17:19:15 2001 EDT Modified files: /pear/Auth/Container DB.php Log: * fixed bug in fetchData() Index: pear/Auth/Container/DB.php diff -u pear/Auth/Container/DB.php:1.2 pear/Auth/Container/DB.php:1.3 --- pear/Auth/Container/DB.php:1.2 Sat Jul 21 18:02:48 2001 +++ pear/Auth/Container/DB.php Fri Aug 24 17:19:15 2001 @@ -16,7 +16,7 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: DB.php,v 1.2 2001/07/21 22:02:48 mj Exp $ +// $Id: DB.php,v 1.3 2001/08/24 21:19:15 mj Exp $ // require_once "Auth/Container.php"; @@ -106,13 +106,13 @@ { $query = sprintf("SELECT username FROM %s - WHERE username = %s + WHERE username = '%s' AND password = '%s'", $this->table, $this->db->quoteString($username), md5($password) ); - + $res = $this->db->query($query); if (DB::isError($res)) {

« previous php.pear.cvs (#655) next »