$formatted .= '<br />' . $this->msg(
'ipb-blocklist-duration-left',
$language->formatDuration(
$formatted .= '<br />' . $this->msg(
'ipb-blocklist-duration-left',
$language->formatDuration(
- $items[$restriction->getType()][] = HTML::rawElement(
- 'li',
- [],
- Linker::link( $restriction->getTitle() )
- );
+ if ( $restriction->getTitle() ) {
+ $items[$restriction->getType()][] = Html::rawElement(
+ 'li',
+ [],
+ Linker::link( $restriction->getTitle() )
+ );
+ }