Replace _ in timezone setting with a space

This commit is contained in:
Bart Visscher 2011-10-06 11:45:49 +02:00
parent c28f1e0276
commit 4786ed321e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ OC_UTIL::addStyle('', 'jquery.multiselect');
if ($continent!="") echo '</optgroup>';
echo '<optgroup label="'.$ex[0].'">';
endif;
$city=$ex[1];
$city=strtr($ex[1], '_', ' ');
$continent=$ex[0];
echo '<option value="'.$timezone.'"'.($_['timezone'] == $timezone?' selected="selected"':'').'>'.$city.'</option>';
endforeach;?>