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:
Niklas Laxström 2011-09-09 08:04:18 +00:00
parent be36f6e1fe
commit b8b5d5a69b

View file

@ -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;
}
}