Commit c3f7c63ebbf10b72917833c178bdc3161432b79c
1 parent
eaa72bb8
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
admin/php/classe_metaestat.php
@@ -906,8 +906,8 @@ class Metaestat{ | @@ -906,8 +906,8 @@ class Metaestat{ | ||
906 | $sql = $this->sqlMedidaVariavel($id_medida_variavel,$todasascolunas,$agruparpor); | 906 | $sql = $this->sqlMedidaVariavel($id_medida_variavel,$todasascolunas,$agruparpor); |
907 | $sqlf = $sql["sqlmapserver"]; | 907 | $sqlf = $sql["sqlmapserver"]; |
908 | //remove marcadores geo | 908 | //remove marcadores geo |
909 | - $sqlf = explode("/*SE*/",$sqlf)[1]; | ||
910 | - $sqlf = explode("/*SG*/",$sqlf); | 909 | + $sqlf = explode("/*SE*/",$sqlf); |
910 | + $sqlf = explode("/*SG*/",$sqlf[1]); | ||
911 | $sqlf = $sqlf[0]." ".$sqlf[2]; | 911 | $sqlf = $sqlf[0]." ".$sqlf[2]; |
912 | $sqlf = str_replace("__filtro__"," AND ".$filtro,$sqlf); | 912 | $sqlf = str_replace("__filtro__"," AND ".$filtro,$sqlf); |
913 | /* | 913 | /* |