Project

General

Profile

« Previous | Next » 

Revision 4f7a5ec7

Added by Andreas Kohlbecker over 4 years ago

avoiding undefined property notice

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.name.theme
124 124
        $author_team = cdm_ws_get(CDM_WS_REFERENCE_AUTHORTEAM, $type_designation->citation->uuid);
125 125

  
126 126
        if (isset($author_team->titleCache)) {
127
          $year = timePeriodToString($type_designation->citation->datePublished, true, 'YYYY');
127
          $year = @timePeriodToString($type_designation->citation->datePublished, true, 'YYYY');
128 128
          $authorteam_str = $author_team->titleCache . ($year ? ' ' : '') . $year;
129 129
          if ($authorteam_str == $type_designation->citation->titleCache) {
130 130
            $citation_footnote_str = '';

Also available in: Unified diff