mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
- this should work... he says
git-svn-id: file:///svn/phpbb/trunk@5052 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e5ae182a38
commit
3de2acb3df
1 changed files with 7 additions and 3 deletions
|
@ -293,9 +293,13 @@ class sql_db
|
|||
{
|
||||
if ($rownum > -1)
|
||||
{
|
||||
// NOTE: Let's see how often we use this one and how fast we can produce a working query. ;D
|
||||
// At the moment we are not taking advantage of this feature.
|
||||
trigger_error('ROWNUM > 0 in sql_fetchfield not supported, please file a bug report.');
|
||||
// erm... ok, my bad, we always use zero. :/
|
||||
for ($i = 0; $i <= $rownum; $i++)
|
||||
{
|
||||
$row = $this->sql_fetchrow($query_id);
|
||||
}
|
||||
|
||||
return $row[$field];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue