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:
70f876d
)
Call to a member function getText() on a non-object
author
Reedy
<reedy@wikimedia.org>
Tue, 22 Jul 2014 19:18:07 +0000
(20:18 +0100)
committer
Reedy
<reedy@wikimedia.org>
Tue, 22 Jul 2014 19:18:07 +0000
(20:18 +0100)
Bug: 68394
Change-Id: I78a9cd940fed9134263f086af89c15b5777b57fc
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
19b2240
..
fbdde64
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1287,6
+1287,9
@@
class OutputPage extends ContextSource {
foreach ( $categories as $category => $type ) {
$origcategory = $category;
$title = Title::makeTitleSafe( NS_CATEGORY, $category );
+ if ( !$title ) {
+ continue;
+ }
$wgContLang->findVariantLink( $category, $title, true );
if ( $category != $origcategory ) {
if ( array_key_exists( $category, $categories ) ) {