From 61a5c3b87d1eb253c52cd37ad4f475145652d5c1 Mon Sep 17 00:00:00 2001 From: Zheng Zhu Date: Thu, 21 Apr 2005 03:22:40 +0000 Subject: [PATCH] Fix my last broken fix (that caused bug 1899) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 513d45b910..c060cc4072 100644 --- a/index.php +++ b/index.php @@ -84,7 +84,7 @@ if ( '' == $title && 'delete' != $action ) { /* check variant links so that interwiki links don't have to worry about the possible different language variants */ - if( $wgTitle->getArticleID() == 0 ) + if( !is_null($wgTitle) && $wgTitle->getArticleID() == 0 ) $wgContLang->findVariantLink( $title, $wgTitle ); } -- 2.20.1