Project

General

Profile

« Previous | Next » 

Revision 3603b96e

Added by Andreas Kohlbecker about 4 years ago

ref #8830 statistical values: unit before brackets

View differences:

modules/cdm_dataportal/includes/common.inc
406 406
    $min_max_markup = str_replace($xbar_equals, '' , $other_vals_array['Average']);
407 407
    unset($other_vals_array['Average']);
408 408
  }
409
  if($unit){
410
    $min_max_markup .= ' ' . $unit;
411
  }
409 412
  if(count($other_vals_array)){
410 413
    $min_max_markup .= ' [' . join(';', $other_vals_array) . ']';
411 414
  }
412 415

  
413
  return $min_max_markup . ($unit ? ' ' . $unit : '');
416
  return $min_max_markup;
414 417
}
415 418

  
416 419
/**

Also available in: Unified diff