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
This commit is contained in:
parent
be36f6e1fe
commit
b8b5d5a69b
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ class DatabaseLogEntry extends LogEntryBase {
|
|||
$this->params = $params;
|
||||
$this->legacy = false;
|
||||
} else {
|
||||
$this->params = explode( "\n", $blob );
|
||||
$this->params = $blob === '' ? array() : explode( "\n", $blob );
|
||||
$this->legacy = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue