cvs: pear /LiveUser/Auth PDO.php

From: Date: Mon, 27 Mar 2006 10:04:31 +0000
Subject: cvs: pear /LiveUser/Auth PDO.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39370@lists.php.net to get a copy of this message
lsmith Mon Mar 27 10:04:31 2006 UTC Modified files: /pear/LiveUser/Auth PDO.php Log: - minor fix to user reading http://cvs.php.net/viewcvs.cgi/pear/LiveUser/Auth/PDO.php?r1=1.11&r2=1.12&diff_format=u Index: pear/LiveUser/Auth/PDO.php diff -u pear/LiveUser/Auth/PDO.php:1.11 pear/LiveUser/Auth/PDO.php:1.12 --- pear/LiveUser/Auth/PDO.php:1.11 Tue Mar 14 13:10:04 2006 +++ pear/LiveUser/Auth/PDO.php Mon Mar 27 10:04:31 2006 @@ -39,7 +39,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2006 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: PDO.php,v 1.11 2006/03/14 13:10:04 lsmith Exp $ + * @version CVS: $Id: PDO.php,v 1.12 2006/03/27 10:04:31 lsmith Exp $ * @link http://pear.php.net/LiveUser */ @@ -260,7 +260,7 @@ return false; } - $row = $res->fetchAll(PDO::FETCH_ASSOC); + $row = $res->fetch(PDO::FETCH_ASSOC); if ($row === false) { $this->stack->push( @@ -276,7 +276,7 @@ if (array_key_exists('lastlogin', $row) && !empty($row['lastlogin'])) { $row['lastlogin'] = strtotime($row['lastlogin']); } - $this->propertyValues = $row[0]; + $this->propertyValues = $row; return true; }

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