1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

#8618 + padding store check

git-svn-id: file:///svn/phpbb/trunk@7163 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-03-10 14:31:15 +00:00
parent 2d12eae461
commit 6098703c37
2 changed files with 13 additions and 1 deletions

View File

@@ -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'];