Keep the data of the local app (especially the version)
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9891eae232
commit
2dcae4e8ea
|
@ -214,7 +214,7 @@ class AppSettingsController extends Controller {
|
||||||
if (!array_key_exists($app['id'], $this->allApps)) {
|
if (!array_key_exists($app['id'], $this->allApps)) {
|
||||||
$this->allApps[$app['id']] = $app;
|
$this->allApps[$app['id']] = $app;
|
||||||
} else {
|
} else {
|
||||||
$this->allApps[$app['id']] = array_merge($this->allApps[$app['id']], $app);
|
$this->allApps[$app['id']] = array_merge($app, $this->allApps[$app['id']]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue