From b197fd67882fa1340078da03717d9229b87a278a Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Tue, 3 Nov 2020 23:49:28 -0500 Subject: [PATCH] Hide a notice --- CustomNavBlocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CustomNavBlocks.php b/CustomNavBlocks.php index dec791c..f6430c7 100644 --- a/CustomNavBlocks.php +++ b/CustomNavBlocks.php @@ -48,7 +48,7 @@ function addCustomNavBlocks($skin, $tpl) { } else { # some shortcuts $definition = $tmp[0]; - $blockTitle = $tmp[1]; + $blockTitle = $tmp[1] ?? ""; # first, we need a title object: $title = Title::newFromText($definition, NS_MEDIAWIKI);