Revert "Unset the static $scale variable so a new scale can later be set."
This reverts commit 7aa49b68a4
.
See https://github.com/farmOS/farmOS/issues/367
This commit is contained in:
parent
b194775f35
commit
d6ed1f0e3e
|
@ -46,11 +46,6 @@ 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