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:
5012260
)
fixed warning on category pages. changing order of conditions ensures that $index...
author
Jens Frank
<jeluf@users.mediawiki.org>
Fri, 10 Sep 2004 00:31:55 +0000
(
00:31
+0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Fri, 10 Sep 2004 00:31:55 +0000
(
00:31
+0000)
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
e7b728d
..
5070c1b
100644
(file)
--- a/
includes/CategoryPage.php
+++ b/
includes/CategoryPage.php
@@
-191,8
+191,8
@@
class CategoryPage extends Article {
$index++ )
{
// check for change of starting letter or begging of chunk
- if ( ($
children_start_char[$index] != $children_start_char[$index - 1]
)
-
|| ($index == $startChunk
) )
+ if ( ($
index == $startChunk
)
+
|| ($children_start_char[$index] != $children_start_char[$index - 1]
) )
{
$r .= "</ul><h3>{$children_start_char[$index]}</h3>\n<ul>";
}