Commit c7c5f52a authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4055 (Subtle menu bug on PHP 7.4)

parent a5bdab9d
......@@ -431,7 +431,9 @@ function _append_to_page_links(&$branches, $page_link_append)
if ($branch['page_link'] !== null) {
$branch['page_link'] .= $page_link_append;
}
_append_to_page_links($branch['children'], $page_link_append);
if ($branch['children'] !== null) {
_append_to_page_links($branch['children'], $page_link_append);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment