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:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user