Browse Source

Forgotten AS in mod/admin patch

pull/3323/head
Alexandre Alapetite 5 years ago
parent
commit
d076b39b64
  1. 4
      mod/admin.php

4
mod/admin.php

@ -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'];

Loading…
Cancel
Save