diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-10 14:31:15 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-10 14:31:15 +0000 |
commit | 6098703c373cc3ba9793ccf2ab5f792f98f6b516 (patch) | |
tree | 3e1bf21f18d085d2cdc6c2914c06256871e55976 /phpBB/includes/functions.php | |
parent | 2d12eae4610c13d53013e3e4285001239f250d4b (diff) | |
download | forums-6098703c373cc3ba9793ccf2ab5f792f98f6b516.tar forums-6098703c373cc3ba9793ccf2ab5f792f98f6b516.tar.gz forums-6098703c373cc3ba9793ccf2ab5f792f98f6b516.tar.bz2 forums-6098703c373cc3ba9793ccf2ab5f792f98f6b516.tar.xz forums-6098703c373cc3ba9793ccf2ab5f792f98f6b516.zip |
#8618 + padding store check
git-svn-id: file:///svn/phpbb/trunk@7163 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index cb90b18b9d..f6dd702449 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -302,7 +302,9 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list } else if ($row['left_id'] > $right + 1) { - $padding = $padding_store[$row['parent_id']]; + // Ok, if the $padding_store for this parent is empty there is something wrong. For now we will skip over it. + // @todo digging deep to find out "how" this can happen. + $padding = (isset($padding_store[$row['parent_id']])) ? $padding_store[$row['parent_id']] : $padding; } $right = $row['right_id']; |