rpicms

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

commit 6a3a1e9ea5209fe4c02a42271da1365bb9c3e2c1
parent 8bfdc1d958469b758725faf8e7235789478c073b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 21 Dec 2014 14:14:18 +0100

fix else argument

Diffstat:
Mcore/update/update/update.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/update/update/update.php b/core/update/update/update.php @@ -182,14 +182,14 @@ class AutoUpdate { $update = ''; foreach ($versions as $key => $version) { - if ($version['branch'] = $branch){ + if ($version['branch'] == $branch){ if ($key > $keyOld) { $keyOld = $key; $latest = $version['version']; $update = $version['url']; - }else { - echo "missing branch"; } + }else { + echo "missing branch"; } }