From 0db7b7603d32f11505811dbb5403c7aec59b4d15 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 29 Mar 2003 18:42:24 +0000 Subject: [PATCH] global $db... ashe, i think you noticed already. :) git-svn-id: file:///svn/phpbb/trunk@3750 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) 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) {