Skip to content

Commit e72149b

Browse files
committed
fix: Subject::getId()
1 parent 6f6ce45 commit e72149b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Fields/Subject.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public function getVocabulary()
8282
*/
8383
public function getId()
8484
{
85-
$value = $this->field->getSubfield('0');
86-
return $value ?: null;
85+
return $this->sf('0');
8786
}
8887

8988
public function getParts()

0 commit comments

Comments
 (0)