Преглед на файлове

Forgotten AS in mod/admin patch

tags/3.5.2
Alexandre Alapetite преди 3 години
родител
ревизия
d076b39b64
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      mod/admin.php

+ 2
- 2
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'];


Зареждане…
Отказ
Запис