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:
4640dd7
)
$parents is an array (bug 14169)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 18 May 2008 16:09:56 +0000
(16:09 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 18 May 2008 16:09:56 +0000
(16:09 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
e1422f4
..
792411f
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2857,7
+2857,7
@@
class Title {
$stack = array();
$parents = $this->getParentCategories();
- if(
$parents != ''
) {
+ if(
$parents
) {
foreach($parents as $parent => $current) {
if ( array_key_exists( $parent, $children ) ) {
# Circular reference