mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
global $db... ashe, i think you noticed already. :)
git-svn-id: file:///svn/phpbb/trunk@3750 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c2abdb292d
commit
0db7b7603d
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ function generate_forum_nav(&$forum_data)
|
||||||
// Returns forum parents as an array. Get them from forum_data if available, or update the database otherwise
|
// Returns forum parents as an array. Get them from forum_data if available, or update the database otherwise
|
||||||
function get_forum_parents($forum_data)
|
function get_forum_parents($forum_data)
|
||||||
{
|
{
|
||||||
|
global $db;
|
||||||
|
|
||||||
$forum_parents = array();
|
$forum_parents = array();
|
||||||
if ($forum_data['parent_id'] > 0)
|
if ($forum_data['parent_id'] > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue