r96649 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96648
|
r96649
|
r96650
>
Date:
08:04, 9 September 2011
Author:
nikerabbit
Status:
ok
Tags:
Comment:
This should fix regression reported in
r96545
Notice: Undefined offset: 1 in D:\www\MW_trunk\phase3\extensions\FlaggedRevs\dataclasses\FlaggedRevsLog.php on line 156
Modified paths:
/trunk/phase3/includes/logging/LogEntry.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/logging/LogEntry.php
—
—
@@ -215,7 +215,7 @@
216
216
$this->params = $params;
217
217
$this->legacy = false;
218
218
} else {
219
- $this->params = explode( "\n", $blob );
219
+ $this->params = $blob === '' ? array() : explode( "\n", $blob );
220
220
$this->legacy = true;
221
221
}
222
222
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r96545
Use LogFormatter to format log entries....
nikerabbit
08:57, 8 September 2011
Status & tagging log
08:07, 9 September 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r96649
[
removed:
new
added:
ok]