Skip to content

Commit 323e059

Browse files
committed
Fix CSP for C 5.3
1 parent b31439e commit 323e059

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Contao/Widgets/MultiColumnWizard.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,11 +1848,12 @@ private function getDescription(array $field): ?string
18481848
return null;
18491849
}
18501850

1851-
private function cspUnsafeInlineStyle(string $style): string
1851+
public function cspUnsafeInlineStyle(string $style, string $algorithm = 'sha384'): string
18521852
{
18531853
if (!method_exists(parent::class, 'cspUnsafeInlineStyle')) {
18541854
return $style;
18551855
}
1856-
return parent::cspUnsafeInlineStyle($style);
1856+
1857+
return parent::cspUnsafeInlineStyle($style, $algorithm);
18571858
}
18581859
}

0 commit comments

Comments
 (0)