1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

language additions

some small fixes


git-svn-id: file:///svn/phpbb/trunk@4893 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2004-05-26 18:55:28 +00:00
parent cf8c2a7df1
commit 00ad9cc498
14 changed files with 93 additions and 22 deletions

View File

@@ -345,6 +345,16 @@ class sql_db
$query_id = $this->query_result;
}
if ($query_id)
{
// If it is not found within the open queries, we try to free a cached result. ;)
if (!(array_search($query_id, $this->open_queries) > 0))
{
return false;
}
unset($this->open_queries[array_search($query_id, $this->open_queries)]);
}
return ($query_id) ? @mysql_free_result($query_id) : false;
}