cvs: pear /Auth/Container DBLite.php

From: Date: Mon, 21 Aug 2006 08:34:26 +0000
Subject: cvs: pear /Auth/Container DBLite.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-41785@lists.php.net to get a copy of this message
aashley Mon Aug 21 08:34:26 2006 UTC Modified files: /pear/Auth/Container DBLite.php Log: Fix notice http://cvs.php.net/viewvc.cgi/pear/Auth/Container/DBLite.php?r1=1.9&r2=1.10&diff_format=u Index: pear/Auth/Container/DBLite.php diff -u pear/Auth/Container/DBLite.php:1.9 pear/Auth/Container/DBLite.php:1.10 --- pear/Auth/Container/DBLite.php:1.9 Thu Aug 17 01:03:52 2006 +++ pear/Auth/Container/DBLite.php Mon Aug 21 08:34:26 2006 @@ -18,7 +18,7 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2006 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: DBLite.php,v 1.9 2006/08/17 01:03:52 aashley Exp $ + * @version CVS: $Id: DBLite.php,v 1.10 2006/08/21 08:34:26 aashley Exp $ * @link http://pear.php.net/package/Auth * @since File available since Release 1.3.0 */ @@ -45,7 +45,7 @@ * @author Adam Ashley <aashley@php.net> * @copyright 2001-2006 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version Release: @package_version@ File: $Revision: 1.9 $ + * @version Release: @package_version@ File: $Revision: 1.10 $ * @link http://pear.php.net/package/Auth * @since Class available since Release 1.3.0 */ @@ -226,7 +226,8 @@ } // Find if db_fields contains a *, if so assume all col are selected - if (strstr($this->options['db_fields'], '*')) { + if (is_string($this->options['db_fields']) + && strstr($this->options['db_fields'], '*')) { $sql_from = "*"; } else { $sql_from = $this->db->quoteIdentifier($this->options['usernamecol']).

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