Skip to content

Commit

Permalink
FIX Return string if no URL (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 12, 2024
1 parent 7fa4a1b commit 0875c77
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 0875c77

Please sign in to comment.