From 57a52105d42c9a28f93cb5683aaf97398894c5a8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 30 Apr 2006 16:40:45 +0000 Subject: [PATCH] Fix notice on empty local links introduced by validity check in r13960 --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index c384948a9b..5c05477ebe 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1518,7 +1518,7 @@ class Title { } // Any remaining initial :s are illegal. - if ( ':' == $t{0} ) { + if ( $t !== '' && ':' == $t{0} ) { return false; } -- 2.20.1