Skip to content

Commit

Permalink
Update variable check
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Oct 28, 2024
1 parent 118c2a3 commit e301ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/ProviderLogoCachedViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static function renderStatic(
) {
$logoUrl = $arguments['logo'];
// is valid uri?
if (GeneralUtility::isValidUrl($logoUrl)) {
if (isset($logoUrl) && GeneralUtility::isValidUrl($logoUrl)) {
// calculate cache identifier
$logoInfo = pathinfo($logoUrl);
$cacheIdentifier = md5($logoUrl) . '.' . $logoInfo['extension'];
Expand Down

0 comments on commit e301ab0

Please sign in to comment.