Opened 13 years ago

Closed 13 years ago

#216 closed defect (fixed)

Mapserver - Deleting the first layer in the 'LayerControl' widget returns "success:false"

Reported by: pdeschamps Owned by: pdeschamps
Priority: P2 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Minor Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

In SetLayers.php line 58 the for loop that cycles through the current layer indexes and passed in indexes never reaches the last item of the array. the for loop simply needs to be '<=' and not '<'

Change History (1)

comment:1 by pdeschamps, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.