Loading core/lib/Drupal/Core/Template/AttributeString.php +1 −1 Changes for core/lib/Drupal/Core/Template/AttributeString.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ class AttributeString extends AttributeValueBase { * Implements the magic __toString() method. */ public function __toString() { return Html::escape($this->value); return Html::escape((string) $this->value); } } Loading
core/lib/Drupal/Core/Template/AttributeString.php +1 −1 Changes for core/lib/Drupal/Core/Template/AttributeString.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ class AttributeString extends AttributeValueBase { * Implements the magic __toString() method. */ public function __toString() { return Html::escape($this->value); return Html::escape((string) $this->value); } }