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:
fa79dd7
)
Fix notice regarding invalid array index -1
author
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 22 Aug 2004 07:22:13 +0000
(07:22 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 22 Aug 2004 07:22:13 +0000
(07:22 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
05be44f
..
79c9c1e
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-609,8
+609,9
@@
class Parser
$index++ )
{
// check for change of starting letter or begging of chunk
- if ( ($articles_start_char[$index] != $articles_start_char[$index - 1])
- || ($index == $startChunk) )
+ if ( ($index == $startChunk) ||
+ ($articles_start_char[$index] != $articles_start_char[$index - 1]) )
+
{
$r .= "</ul><h3>{$articles_start_char[$index]}</h3>\n<ul>";
}