Follow up r66566. Fixes uninited value check
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Mon, 17 May 2010 21:45:46 +0000 (21:45 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Mon, 17 May 2010 21:45:46 +0000 (21:45 +0000)
includes/Skin.php

index c26a922..209b8f3 100644 (file)
@@ -1994,7 +1994,7 @@ CSS;
                if( $wgUploadNavigationUrl ) {
                        $title = Title::newFromText( $wgUploadNavigationUrl );
                }
-               if( !$title ) {
+               if( !isset( $title ) ) {
                        $title = SpecialPage::getTitleFor('Upload');
                }