unset( $block[$i] );
}
}
+ // Further down are some assumptions that $block is a 0-indexed array
+ // with (count-1) as last key. Let's make sure it is.
+ $block = array_values( $block );
$r .= $this->getLogText( $block, $queryParams, $allLogs, $isnew, $namehidden );