Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/webroot/services/micro-format.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/webroot/services/micro-format.php')
-rw-r--r--site/app/webroot/services/micro-format.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/webroot/services/micro-format.php b/site/app/webroot/services/micro-format.php
index cb5b44b..1f600e6 100644
--- a/site/app/webroot/services/micro-format.php
+++ b/site/app/webroot/services/micro-format.php
@@ -78,7 +78,7 @@ if (empty($errors)) {
addons.guid,
default_lang.localized_string as default_name,
requested_lang.localized_string as name,
- max(versions.version) as version
+ MAX(CAST(versions.version AS UNSIGNED)) as version
FROM
collections
INNER JOIN addons_collections ON collections.id = addons_collections.collection_id