commit 7b3b27fb22f2c6205d22070009db6aa7a3549808 parent 7f4af1edfc453958f12b9db46756369edc6e754d Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 21 Dec 2014 14:27:02 +0100 cleanup code Diffstat:
| M | core/update/update/update.php | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php @@ -182,8 +182,7 @@ class AutoUpdate { $update = ''; foreach ($versions as $key => $version) { - var_dump($versions); - if ($versions['branch'] == $branch){ + if ($versions['branch'] = $branch){ if ($key > $keyOld) { $keyOld = $key; $latest = $version['version'];