Removed allpagesformtext and contributionsformtext, obsolete
[lhc/web/wiklou.git] / index.php
index 513d45b..c060cc4 100644 (file)
--- 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 );
        
 }