Removing notices from PHP.

git-svn-id: http://svn.cleancode.org/svn/pickles@10 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2007-12-09 18:54:30 +00:00
parent 5af71f7ed3
commit 0e7de6c3d2

View file

@ -120,7 +120,7 @@ class DB {
if (is_resource(self::$results)) { if (is_resource(self::$results)) {
$return = null; $return = null;
while ($row =& mysql_fetch_assoc(self::$results)) { while ($row = mysql_fetch_assoc(self::$results)) {
if (!is_array($return)) { if (!is_array($return)) {
$return = array(); $return = array();
} }