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

ping.php performance: fix typo
This commit is contained in:
Michael Vogel 2016-11-19 21:40:31 +01:00 committed by GitHub
commit 67c1a20ed0

View file

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