diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-12-25 15:55:35 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-12-25 15:55:35 +0000 |
commit | faf95e858f7bb7f1a0123569f2a27efde6062ea4 (patch) | |
tree | 6014c50dcf63d71067e04a3108f78d1a19de4ce9 /phpBB/includes/acm/acm_memory.php | |
parent | f601599e634096bbc0634f39a9cf596c9606e263 (diff) | |
download | forums-faf95e858f7bb7f1a0123569f2a27efde6062ea4.tar forums-faf95e858f7bb7f1a0123569f2a27efde6062ea4.tar.gz forums-faf95e858f7bb7f1a0123569f2a27efde6062ea4.tar.bz2 forums-faf95e858f7bb7f1a0123569f2a27efde6062ea4.tar.xz forums-faf95e858f7bb7f1a0123569f2a27efde6062ea4.zip |
Bug #55865 - Correctly move sql_row_pointer forward when calling sql_fetchfield() on cached queries.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10379 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acm/acm_memory.php')
-rw-r--r-- | phpBB/includes/acm/acm_memory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acm/acm_memory.php b/phpBB/includes/acm/acm_memory.php index e315e979e5..1a672ad7e1 100644 --- a/phpBB/includes/acm/acm_memory.php +++ b/phpBB/includes/acm/acm_memory.php @@ -364,7 +364,7 @@ class acm_memory { if ($this->sql_row_pointer[$query_id] < sizeof($this->sql_rowset[$query_id])) { - return (isset($this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]][$field])) ? $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]][$field] : false; + return (isset($this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]][$field])) ? $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]++][$field] : false; } return false; |