diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2003-03-29 18:42:24 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-03-29 18:42:24 +0000 |
commit | 0db7b7603d32f11505811dbb5403c7aec59b4d15 (patch) | |
tree | 28e1f3102fa08a17fac41df3138543f2b6edbd5d /phpBB/includes/functions.php | |
parent | c2abdb292dd154ca59feb0d05099a4b52a564f5a (diff) | |
download | forums-0db7b7603d32f11505811dbb5403c7aec59b4d15.tar forums-0db7b7603d32f11505811dbb5403c7aec59b4d15.tar.gz forums-0db7b7603d32f11505811dbb5403c7aec59b4d15.tar.bz2 forums-0db7b7603d32f11505811dbb5403c7aec59b4d15.tar.xz forums-0db7b7603d32f11505811dbb5403c7aec59b4d15.zip |
global $db... ashe, i think you noticed already. :)
git-svn-id: file:///svn/phpbb/trunk@3750 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index ab88e5b9e3..e493353718 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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 function get_forum_parents($forum_data) { + global $db; + $forum_parents = array(); if ($forum_data['parent_id'] > 0) { |