diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-14 18:18:17 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-14 18:18:17 (GMT) |
commit | 734dd2d28d9fb0833ff54ec6a76f0dc50013095b (patch) | |
tree | b4ffa70d0f0ef6cb320f748a75ea3c0c741c3d57 | |
parent | f4676e6da4c967511bd27560301f56f66e1e37ed (diff) |
Rename update.php to update-aslo.php
-rw-r--r-- | site/app/webroot/services/update-aslo.php (renamed from site/app/webroot/services/update.php) | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/app/webroot/services/update.php b/site/app/webroot/services/update-aslo.php index 2acf767..aa33c2f 100644 --- a/site/app/webroot/services/update.php +++ b/site/app/webroot/services/update-aslo.php @@ -204,8 +204,7 @@ if (empty($errors) && !$detect_installed) { } if (isset($sql['appVersion'])) { - $where .= " AND CAST('{$sql['appVersion']}' AS DECIMAL(3,3)) >= CAST(appmin.version AS DECIMAL(3,3))"; - $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(appmax.version AS DECIMAL(3,3))"; } $os_query = ($sql['os_id']) ? " OR files.platform_id = {$sql['os_id']}" : ''; // Set up os_id. |