mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- this should work... he says
git-svn-id: file:///svn/phpbb/trunk@5052 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user