minor fix map_filter builder
Former-commit-id: 0ef6bcaa84163f21fe0d6bcd869a7b8646581893
This commit is contained in:
parent
a4c048dd29
commit
4910da5e31
|
@ -407,9 +407,15 @@ class NetworkMap
|
|||
&& is_array($options['map_options'])
|
||||
) {
|
||||
foreach ($options['map_options'] as $k => $v) {
|
||||
if ($k == 'map_filter' && is_array($v)) {
|
||||
foreach ($v as $kc => $vc) {
|
||||
$this->mapOptions['map_filter'][$kc] = $vc;
|
||||
}
|
||||
} else {
|
||||
$this->mapOptions[$k] = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Load from tmap.
|
||||
if ($options['id_map']) {
|
||||
|
|
Loading…
Reference in New Issue