We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b2914 commit 91747f2Copy full SHA for 91747f2
Classes/Seo/Canonical.php
@@ -75,7 +75,7 @@ static public function calculateUrl(): string {
75
unset($query['encryptionKey']);
76
unset($query['cHash']);
77
78
- $removeParameters = (array)$GLOBALS['TSFE']->config['config']['tx_vierwd.']['removeCanonicalUrlParameters.'];
+ $removeParameters = $GLOBALS['TSFE']->config['config']['tx_vierwd.']['removeCanonicalUrlParameters.'] ?? [];
79
$removeParameters = array_filter($removeParameters);
80
foreach ($removeParameters as $parameter) {
81
if (ArrayUtility::isValidPath($query, $parameter, '|')) {
0 commit comments