Merge pull request #2941 from Hypolite/improvement/ping-php-json

ping.php performance: fix typo
2022.09-rc
Michael Vogel 2016-11-19 21:40:31 +01:00 zatwierdzone przez GitHub
commit 67c1a20ed0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -83,7 +83,7 @@ function ping_init(&$a) {
// Find out how unseen network posts are spread across groups // Find out how unseen network posts are spread across groups
$group_counts = groups_count_unseen(); $group_counts = groups_count_unseen();
if (dbm::is_result($group_counts)) { if (dbm::is_result($group_counts)) {
foreach ($groups_counts as $group_count) { foreach ($group_counts as $group_count) {
if ($group_count['count'] > 0) { if ($group_count['count'] > 0) {
$groups_unseen[] = $group_count; $groups_unseen[] = $group_count;
} }