rpicms

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

commit 7b3b27fb22f2c6205d22070009db6aa7a3549808
parent 7f4af1edfc453958f12b9db46756369edc6e754d
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 21 Dec 2014 14:27:02 +0100

cleanup code

Diffstat:
Mcore/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'];