Skip to content

Commit

Permalink
PRESIDECMS-2708 ensure we return expected format in all scenarios here
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Sep 15, 2023
1 parent 73741cd commit be825f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/handlers/core/AssetDownload.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ component {
var derivativeName = rc.derivativeId ?: "";

if ( Len( Trim( derivativeName ) ) && assetManagerService.isDerivativePubliclyAccessible( derivativeName ) ) {
return false;
return { restricted=false };
}

return assetManagerService.getAssetPermissioningSettings( assetId );
Expand Down

0 comments on commit be825f7

Please sign in to comment.