aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-04 12:03:55 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-04 12:03:55 +0000
commit652f1c552c27831cf78ba6fb6308463ee513023d (patch)
treea37bd72d078f170b6bf3e7c511316d2beb0039cd /web/js/map-OpenLayers.js
parent3609368292003c773ae27e9b3da753e36cf3455d (diff)
Fix infinite memory-eating loop.
Reading from $problem->areas is a new string each time, so the global regex gets reset and the loop never ends. Look up the value once, first, to prevent this.
Diffstat (limited to 'web/js/map-OpenLayers.js')
0 files changed, 0 insertions, 0 deletions