Commit 737ea059 authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4031 (PHP 7.4 error on some do-next screens ("Trying to access...

Fixed MANTIS-4031 (PHP 7.4 error on some do-next screens ("Trying to access array offset on value of type null"))
parent 313da51f
......@@ -328,6 +328,10 @@ function _do_next_section($list, $title, $entry_content_type = null, $category_c
$num_siblings = 0;
foreach ($list as $i => $_option) {
if ($_option === null) {
continue;
}
$url = $_option[1];
if (!is_null($url)) {
$zone = array_key_exists(2, $url) ? $url[2] : '';
......
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