Commit 921fd0fa0a6c6820d63af3f8b619346967eb1423
1 parent
051bfd86
Exists in
master
and in
7 other branches
-
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
classesphp/classe_mapa.php
@@ -2057,7 +2057,8 @@ class Mapa | @@ -2057,7 +2057,8 @@ class Mapa | ||
2057 | else | 2057 | else |
2058 | {$shape = $s->getshape(0);} | 2058 | {$shape = $s->getshape(0);} |
2059 | */ | 2059 | */ |
2060 | - $shape = $s->getshape(0); | 2060 | + //$shape = $s->getshape(0); |
2061 | + $shape = $s->getshape(new resultObj(0)); | ||
2061 | $t = $shape->type; | 2062 | $t = $shape->type; |
2062 | $tipo = MS_LAYER_POLYGON; | 2063 | $tipo = MS_LAYER_POLYGON; |
2063 | if ($t == 0) | 2064 | if ($t == 0) |