mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02: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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user