Project

General

Profile

Revision 1069d3f0

ID1069d3f03637e5e09d2d7bab0f776f82ede57415
Parent 9ed30d90
Child a61b2502

Added by Andreas Kohlbecker almost 4 years ago

HOTFIX for 4.3.0

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
1421 1421
 *   An optional call back function which can be used to modify the term label
1422 1422
 * @param bool $default_option
1423 1423
 *   An additional element do be placed at the beginning og the list. This element will be the default option.
1424
 *   In order to put an empty element the begining of the options pass an " " as argument.
1424
 *   In order to put an empty element the beginning of the options pass an " " as argument.
1425 1425
 * @param array $include_filter
1426 1426
 *   An associative array consisting of a field name an regular expression. All term matching
1427 1427
 *   these filter are included. The value of the field is converted to a String by var_export()
......
1539 1539
 * @see http://drupal.org/node/1354
1540 1540
 */
1541 1541
function cdm_rankVocabulary_as_option() {
1542
  $options = cdm_vocabulary_as_option(UUID_RANK, NULL, "");
1542
  $options = cdm_vocabulary_as_option(UUID_RANK, NULL, false);
1543 1543
  return $options;
1544 1544
}
1545 1545

  
modules/cdm_dataportal/settings.php
2247 2247
    }
2248 2248
  }
2249 2249

  
2250
  $level_options = cdm_vocabulary_as_option(UUID_NAMED_AREA_LEVEL, NULL, FALSE, CDM_ORDER_BY_ORDER_INDEX_ASC);
2250
  $level_options = cdm_vocabulary_as_option(UUID_NAMED_AREA_LEVEL, NULL, FALSE, NULL, CDM_ORDER_BY_ORDER_INDEX_ASC);
2251 2251
  $form['taxon_profile']['distribution_layout'][DISTRIBUTION_TREE_OMIT_LEVELS] = array(
2252 2252
    '#type' => 'checkboxes',
2253 2253
    '#title' => 'Omit area levels',

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)