rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 02ccdf3f590825e39f448f199d1ffd1099a11ef9
parent 870934f6ae4b7f623eecde2fa130020351ef9620
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 21 Dec 2014 14:48:25 +0100

to much arrays :D

Diffstat:
Mcore/update/update/update.php | 4++--
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'];