We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab1113 commit 47f2b2cCopy full SHA for 47f2b2c
1 file changed
src/MetaLoader.php
@@ -195,10 +195,10 @@ public function loadSource(array $source): void
195
}
196
if (in_array('attributeauthority-remote', $this->types, true)) {
197
$attributeAuthorities = $entity->getAttributeAuthorities();
198
- if (!empty($attributeAuthorities)) {
+ if (count($attributeAuthorities) && !empty($attributeAuthorities[0])) {
199
$this->addMetadata(
200
$source['src'],
201
- $attributeAuthorities,
+ $attributeAuthorities[0],
202
'attributeauthority-remote',
203
$template
204
);
0 commit comments