Unset the static $scale variable so a new scale can later be set.
This commit is contained in:
parent
87fa04da99
commit
7aa49b68a4
|
@ -46,6 +46,11 @@ function farm_map_set_bcscale($reset = FALSE) {
|
|||
|
||||
// Otherwise, reset.
|
||||
bcscale($scale);
|
||||
|
||||
// Unset the $scale variable so that a new scale can later be set.
|
||||
// Note that we can't use unset() because this is a static variable.
|
||||
$scale = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue