Skip to content
Snippets Groups Projects
Commit d6a5ac4d authored by Johannes Kreiner's avatar Johannes Kreiner
Browse files

[BUGFIX] Fix pb:picture htmlspecialchars call with possible null value

parent 2a3879a4
No related branches found
No related tags found
No related merge requests found
......@@ -202,8 +202,8 @@ class PictureViewHelper extends AbstractViewHelper {
$class = $arguments['class'];
$pictureClass = $arguments['pictureClass'] ?? '';
$id = $arguments['id'];
$title = $arguments['title'];
$alt = $arguments['alt'];
$title = $arguments['title'] ?? '';
$alt = $arguments['alt'] ?? '';
$disableWebp = $arguments['disableWebp'] ?? '';
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment