From: Brion Vibber Date: Sun, 30 Apr 2006 16:40:45 +0000 (+0000) Subject: Fix notice on empty local links introduced by validity check in r13960 X-Git-Tag: 1.31.0-rc.0~57305 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=57a52105d42c9a28f93cb5683aaf97398894c5a8;p=lhc%2Fweb%2Fwiklou.git Fix notice on empty local links introduced by validity check in r13960 --- 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; }