]> git.mxchange.org Git - friendica.git/commitdiff
Forgotten AS in mod/admin patch
authorAlexandre Alapetite <alexandre@alapetite.fr>
Sat, 15 Apr 2017 21:48:02 +0000 (23:48 +0200)
committerAlexandre Alapetite <alexandre@alapetite.fr>
Sat, 15 Apr 2017 21:48:02 +0000 (23:48 +0200)
mod/admin.php

index 093f7c8012ab6e03ed3e5a32251ca0eadfb2100f..fb463d31c014d6dd94e030d5f5bd341c2ee16d0c 100644 (file)
@@ -290,8 +290,8 @@ function admin_page_federation(App $a) {
        foreach ($platforms as $p) {
                // get a total count for the platform, the name and version of the
                // highest version and the protocol tpe
-               $c = qu('SELECT COUNT(*) AS `total`, ANY_VALUE(`platform`),
-                               ANY_VALUE(`network`), MAX(`version`) FROM `gserver`
+               $c = qu('SELECT COUNT(*) AS `total`, ANY_VALUE(`platform`) AS `platform`,
+                               ANY_VALUE(`network`) AS `network`, MAX(`version`) AS `version` FROM `gserver`
                                WHERE `platform` LIKE "%s" AND `last_contact` >= `last_failure`
                                ORDER BY `version` ASC;', $p);
                $total = $total + $c[0]['total'];