Skip to content

Commit

Permalink
FIX Return string if no URL
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 12, 2024
1 parent 7fa4a1b commit a41d48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/DBFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function getFrontendTemplate(): string
// Check that path is available
$url = $this->getURL();
if (empty($url)) {
return null;
return '';
}

// Image template for supported images
Expand Down

0 comments on commit a41d48a

Please sign in to comment.