From be825f7549d3abe22a258ea693d75b069632ab69 Mon Sep 17 00:00:00 2001 From: Dominic Watson Date: Fri, 15 Sep 2023 11:31:48 +0100 Subject: [PATCH] PRESIDECMS-2708 ensure we return expected format in all scenarios here --- system/handlers/core/AssetDownload.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/handlers/core/AssetDownload.cfc b/system/handlers/core/AssetDownload.cfc index 5ac26b7b96..06b7598e02 100644 --- a/system/handlers/core/AssetDownload.cfc +++ b/system/handlers/core/AssetDownload.cfc @@ -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 );