hotfix save networks
This commit is contained in:
parent
12dde17c01
commit
d5af5028ba
|
|
@ -56,7 +56,7 @@ class Netsync extends Plugin
|
|||
$local_enabled = $wrapper["networks"];
|
||||
$diff = array_diff($remote_enabled, $local_enabled);
|
||||
if (count($diff) > 0) {
|
||||
$wrapper["networks"] = $remote_enabled;
|
||||
$wrapper["networks"] = array_values($remote_enabled);
|
||||
$wrapper->save();
|
||||
}
|
||||
foreach ($this->context->getRPC()->getPlugins() as $plugin) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue