diff --git a/eZ/Bundle/EzPublishIOBundle/Migration/FileLister/FileRowReader/LegacyStorageFileRowReader.php b/eZ/Bundle/EzPublishIOBundle/Migration/FileLister/FileRowReader/LegacyStorageFileRowReader.php index 9a52c339e2..408d34749c 100644 --- a/eZ/Bundle/EzPublishIOBundle/Migration/FileLister/FileRowReader/LegacyStorageFileRowReader.php +++ b/eZ/Bundle/EzPublishIOBundle/Migration/FileLister/FileRowReader/LegacyStorageFileRowReader.php @@ -42,7 +42,7 @@ final public function getRow() { $row = $this->statement->fetch(); - return $this->prependMimeToPath($row['filename'], $row['mime_type']); + return false !== $row ? $this->prependMimeToPath($row['filename'], $row['mime_type']) : null; } final public function getCount()