Project

General

Profile

« Previous | Next » 

Revision 26f042e4

Added by Andreas Kohlbecker over 3 years ago

ref #8850 fixing uninitialized variables

View differences:

modules/cdm_dataportal/includes/name.inc
1222 1222
        // citation and detail for the media specimen
1223 1223
        $annotations_and_sources = handle_annotations_and_sources(
1224 1224
          $mediaSpecimen,
1225
          $annotations_and_sources_config,
1225
          typedesignations_annotations_and_sources_config(),
1226 1226
          '',
1227 1227
          null
1228 1228
        );
......
1294 1294
 * @param $show_name_cache_only
1295 1295
 *    The nameCache will be shown instead of the titleCache if this parameter is true.
1296 1296
 * @return null|string
1297
 *    The markup or null
1297 1298
 */
1298 1299
function name_relationship_markup($name_rel, $current_name_uuid, $current_taxon_uuid, $show_name_cache_only = false){
1299 1300

  
......
1565 1566
        $symbol_markup = '<span class="symbol" title="' . $label . '">' . $symbol . '</span>' . $rel_footnote_key_markup .  ' ';
1566 1567
        $relationship_markup = $symbol_markup . $relationship_markup . $nomref_footnote_key_markup;
1567 1568
      }
1568
      if ($relationship_markup) {
1569
      if (isset($relationship_markup) && $relationship_markup) {
1569 1570
        $render_array['list']['items'][] = markup_to_render_array($relationship_markup,
1570 1571
          null,
1571 1572
          $item_prefix,

Also available in: Unified diff