dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0527e11
)
Fix my last broken fix (that caused bug 1899)
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Thu, 21 Apr 2005 03:22:40 +0000
(
03:22
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Thu, 21 Apr 2005 03:22:40 +0000
(
03:22
+0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/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 );
}