]> source.dussan.org Git - nextcloud-server.git/commitdiff
Replace _ in timezone setting with a space
authorBart Visscher <bartv@thisnet.nl>
Thu, 6 Oct 2011 09:45:49 +0000 (11:45 +0200)
committerBart Visscher <bartv@thisnet.nl>
Thu, 6 Oct 2011 11:22:36 +0000 (13:22 +0200)
apps/calendar/templates/settings.php

index 913e54dd8fc689e470b688ac5fe736f938015900..c6664d512dc0f9dcbdf6b1467bd775ebfe345c91 100644 (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;?>