Skip to content

Commit

Permalink
CookieConsent: Fixed compatibility error
Browse files Browse the repository at this point in the history
  • Loading branch information
markwoerdenweber committed May 17, 2024
1 parent 5647d2f commit fd41b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Smartstore.Web.Common/Filters/CookieConsentAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ public CookieConsentAttribute()

class CookieConsentFilter : IActionFilter, IResultFilter
{
readonly static string[] UnprocessableTopics = ["ConditionsOfUse", "PrivacyInfo", "Imprint", "Disclaimer"];
readonly static string[] UnprocessableTopics = new string[] { "ConditionsOfUse", "PrivacyInfo", "Imprint", "Disclaimer" };

private readonly PrivacySettings _privacySettings;
private readonly ICookieConsentManager _cookieConsentManager;
private readonly IUserAgent _userAgent;
private readonly IWidgetProvider _widgetProvider;

private bool _isProcessableRequest;

public CookieConsentFilter(
Expand Down

0 comments on commit fd41b72

Please sign in to comment.