Project

General

Profile

« Previous | Next » 

Revision db725031

Added by Andreas Kohlbecker about 4 years ago

ref #7495 Registration page implemented

View differences:

modules/cdm_dataportal/includes/name.inc
82 82
  if($split_render_templates == NULL) {
83 83
    $render_templates = variable_get(CDM_NAME_RENDER_TEMPLATES, $default_render_templates);
84 84
    // needs to be converted to an array
85
    $render_templates = (convert_to_array($render_templates));
85
    $render_templates = (object_to_array($render_templates));
86 86

  
87 87
    // separate render templates which are combined with a comma
88 88
    $split_render_templates = array();
......
226 226

  
227 227
  static $part_definitions = null;
228 228
  if (!isset($part_definitions)) {
229
    $part_definitions = convert_to_array(variable_get(CDM_PART_DEFINITIONS, $default_part_definitions));
229
    $part_definitions = object_to_array(variable_get(CDM_PART_DEFINITIONS, $default_part_definitions));
230 230
  }
231 231

  
232 232
  $dtype = nameTypeToDTYPE($taxonNameType);

Also available in: Unified diff