Changeset 1544


Ignore:
Timestamp:
Oct 3, 2010, 1:43:50 AM (10 years ago)
Author:
roux
Message:

correction warnings polynesie et claedonie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/circonscription/actions/actions.class.php

    r1411 r1544  
    202202
    203203    $toRemove = array();
     204    $minx = array();
     205    $maxx = array();
     206    $miny = array();
     207    $maxy = array();
    204208
    205209    foreach($tags as $tag) {
     
    225229      $node->parentNode->removeChild($node);
    226230    }
    227 
     231 
     232    if (!count($minx)) return;
    228233    $x_min = min($minx) - $margin;
    229234    $x_max = max($maxx) + $margin;
Note: See TracChangeset for help on using the changeset viewer.