Commit c44aeecf519bf542f897f49695b6fe133b20f9e6
1 parent
54ccdf19
Exists in
master
and in
7 other branches
Corrige a conversão de caracteres ao mudar o nome de um tema
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
classesphp/mapa_controle.php
@@ -1052,6 +1052,7 @@ Altera o nome do tema | @@ -1052,6 +1052,7 @@ Altera o nome do tema | ||
1052 | */ | 1052 | */ |
1053 | case "MUDANOME": | 1053 | case "MUDANOME": |
1054 | include_once("classe_temas.php"); | 1054 | include_once("classe_temas.php"); |
1055 | + $valor = mb_convert_encoding($valor,"ISO-8859-1",mb_detect_encoding($valor)); | ||
1055 | copiaSeguranca($map_file); | 1056 | copiaSeguranca($map_file); |
1056 | $m = new Temas($map_file,$tema); | 1057 | $m = new Temas($map_file,$tema); |
1057 | $m->mudaNome($valor); | 1058 | $m->mudaNome($valor); |