r87490 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r87489
|
r87490
|
r87491
>
Date:
09:12, 5 May 2011
Author:
diebuche
Status:
ok (
Comments
)
Tags:
Comment:
Fix PHP notice in
r85922
. Sorry for the holdup, I kinda forgot about it
Modified paths:
/trunk/phase3/includes/parser/Parser.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/parser/Parser.php
—
—
@@ -1085,7 +1085,7 @@
1086
1086
}
1087
1087
$return .= "\n</tr>";
1088
1088
1089
- if ( ( !isset( $table[$i + 1] ) && !$simple ) || ( isset( $table[$i + 1] ) && ( $table[$i]['type'] != $table[$i + 1]['type'] ) ) ) {
1089
+ if ( ( !isset( $table[$i + 1] ) && !$simple ) || ( isset( $table[$i + 1] ) && isset( $table[$i + 1]['type'] ) && $table[$i]['type'] != $table[$i + 1]['type'] ) ) {
1090
1090
$return .= '</' . $table[$i]['type'] . '>';
1091
1091
}
1092
1092
$lastSection = $table[$i]['type'];
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r85922
diebuche
21:27, 12 April 2011
Comments
#
Comment by
Nikerabbit
(
talk
|
contribs
)
09:14, 5 May 2011
Thanks!
#
Comment by
Platonides
(
talk
|
contribs
)
16:23, 6 May 2011
Are you guaranteed that $table[$i]['type'] is also set?
#
Comment by
DieBuche
(
talk
|
contribs
)
16:37, 6 May 2011
Yep. It's enforced in L1050
#
Comment by
Platonides
(
talk
|
contribs
)
21:06, 6 May 2011
Right
Status & tagging log
21:06, 6 May 2011
Platonides
(
talk
|
contribs
)
changed the
status
of r87490
[
removed:
new
added:
ok]