commit c09d5a4e2593831bdca26ab76c285fc0f5a15806
parent 37c16f08bb6fe219af1a541a44b6cd903c29e408
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 21 Dec 2014 15:53:46 +0100
this if is funny :D
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -182,7 +182,7 @@ class AutoUpdate {
$latest = 0;
$update = '';
foreach ($versions as $key => $version) {
- if ($branch == $version['branch']){
+ if ($branch = $version['branch']){
if ($key > $keyOld) {
$keyOld = $key;
$latest = $version['version'];