mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Reset row and rowset arrays before returning them.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2567 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
be14f298a5
commit
5e53c2aab0
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,7 @@ class sql_db
|
|||
{
|
||||
$row[$key] = stripslashes($value);
|
||||
}
|
||||
@reset($row);
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
@ -320,6 +321,7 @@ class sql_db
|
|||
}
|
||||
$i++;
|
||||
}
|
||||
@reset($rowset);
|
||||
|
||||
return $rowset;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue