diff --git a/mod/admin.php b/mod/admin.php index 287eff272..0e9032cf3 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -290,7 +290,7 @@ function admin_page_federation(&$a) { // what versions for that platform do we know at all? // again only the active nodes $v = qu('SELECT COUNT(*) AS `total`, `version` FROM `gserver` - WHERE `last_contact` > `last_failure` AND `platform` LIKE "%s" AND `version` != "" + WHERE `last_contact` > `last_failure` AND `platform` LIKE "%s" AND `version` RLIKE "^[[:digit:]]+[-.][[:digit:]]+" GROUP BY `version` ORDER BY `version`;', $p);