Project

General

Profile

« Previous | Next » 

Revision 6f5c7f2a

Added by Andreas Kohlbecker over 7 years ago

fixing #1933 (DescriptionElementBases do not show annotation footnotes in flora malesiana portal)

View differences:

7.x/modules/cdm_dataportal/includes/descriptions.inc
197 197
 *     A CDM DescriptionElement instance
198 198
 * @param $separator
199 199
 *     Optional parameter. The separator string to concatenate the footnote ids, default is ','
200
 * @param $footnote_list_key_suggestion
200 201
 * @return String
201 202
 *    The foot note keys
202 203
 */
......
228 229
  $footnoteKeyListStr = '';
229 230
  asort($footNoteKeys);
230 231
  foreach ($footNoteKeys as $footNoteKey) {
231
    $footnoteKeyListStr .= theme('cdm_footnote_key', array('footnoteKey' => $footNoteKey, 'separator' => ($footnoteKeyListStr ? $separator : '')));
232
    $footnoteKeyListStr .= theme('cdm_footnote_key',
233
      array(
234
        'footnoteKey' => $footNoteKey,
235
        'separator' => ($footnoteKeyListStr ? $separator : '')));
232 236
  }
233 237
  return $footnoteKeyListStr;
234 238
}

Also available in: Unified diff