Commit a6d87ab7 authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Benni Mack
Browse files

[BUGFIX] Remove 2nd double quotes from exception messages

There were two double quotes within two exception messages.
That could lead to irritation whether one was part of header name
respectively the display condition string.

Resolves: #89583
Releases: master, 9.5
Change-Id: Idbe6efc296e1d064b14806fc248c2a23c9dadf24
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62193

Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Daniel Siepmann's avatarDaniel Siepmann <coding@daniel-siepmann.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Daniel Siepmann's avatarDaniel Siepmann <coding@daniel-siepmann.de>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 8edc8241
......@@ -427,7 +427,7 @@ class EvaluateDisplayConditions implements FormDataProviderInterface
break;
default:
throw new \RuntimeException(
'Unknown condition rule type "' . $namedConditionArray['type'] . '" with display condition "' . $conditionString . '"".',
'Unknown condition rule type "' . $namedConditionArray['type'] . '" with display condition "' . $conditionString . '".',
1481381950
);
}
......
......@@ -205,7 +205,7 @@ class Message implements MessageInterface
}
if (!is_array($value) || !$this->arrayContainsOnlyStrings($value)) {
throw new \InvalidArgumentException('Invalid header value for header "' . $name . '"". The value must be a string or an array of strings.', 1436717266);
throw new \InvalidArgumentException('Invalid header value for header "' . $name . '". The value must be a string or an array of strings.', 1436717266);
}
$this->validateHeaderName($name);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment