diff --git a/src/DataValues/CitationReferenceValue.php b/src/DataValues/CitationReferenceValue.php index ec6b0d5..fc0aa04 100644 --- a/src/DataValues/CitationReferenceValue.php +++ b/src/DataValues/CitationReferenceValue.php @@ -102,6 +102,10 @@ protected function parseUserValue( $value ) { */ public function getShortWikiText( $linked = null ) { + if ( $this->citationReferencePositionJournal === null ) { + $this->citationReferencePositionJournal = $this->getExtraneousFunctionFor( '\SCI\CitationReferencePositionJournal' ); + } + // We want the last entry here to get the major/minor // number that was internally recorded $referencePosition = $this->citationReferencePositionJournal->findLastReferencePositionEntryFor(