Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-11-20 14:46:49 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-11-20 14:46:49 (GMT)
commitf9f75bbc0c2310651cc68c5afd5f7d097f785a33 (patch)
treee4e554c3d8f9305625b3a4825e63645be7d9b199
parent5263008ec799bc907aa3bf9ca59d429d5b7e5655 (diff)
Remove old updater workaround, and use strict SP ranges
-rw-r--r--site/app/webroot/services/update-aslo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/webroot/services/update-aslo.php b/site/app/webroot/services/update-aslo.php
index aa33c2f..82f27d6 100644
--- a/site/app/webroot/services/update-aslo.php
+++ b/site/app/webroot/services/update-aslo.php
@@ -204,7 +204,7 @@ if (empty($errors) && !$detect_installed) {
}
if (isset($sql['appVersion'])) {
- $where .= " AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) >= CAST(appmax.version AS DECIMAL(3,3))";
+ $where .= " AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) >= CAST(appmin.version AS DECIMAL(3,3)) AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) <= CAST(appmax.version AS DECIMAL(3,3))";
}
$os_query = ($sql['os_id']) ? " OR files.platform_id = {$sql['os_id']}" : ''; // Set up os_id.