Removing notices from PHP.
git-svn-id: http://svn.cleancode.org/svn/pickles@10 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
parent
5af71f7ed3
commit
0e7de6c3d2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue