commit 02ccdf3f590825e39f448f199d1ffd1099a11ef9
parent 870934f6ae4b7f623eecde2fa130020351ef9620
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 21 Dec 2014 14:48:25 +0100
to much arrays :D
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -180,9 +180,9 @@ class AutoUpdate {
$keyOld = 0;
$latest = 0;
$update = '';
-
+ var_dump($versions);
foreach ($versions as $key => $version) {
- if ($branch == $version['branch']){
+ if ($branch == $versions['branch']){
if ($key > $keyOld) {
$keyOld = $key;
$latest = $version['version'];