Skip to content

Commit

Permalink
Merged branch '1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Sep 29, 2020
2 parents ad01314 + f7bb25b commit 61f3420
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 61f3420

Please sign in to comment.