diff --git a/docs/stats.php b/docs/stats.php index 579a978..dfbf45a 100755 --- a/docs/stats.php +++ b/docs/stats.php @@ -27,7 +27,7 @@ $followers = $stmt->fetchAll(PDO::FETCH_DEFAULT); foreach ($followers as $follown) { - if ($usern == $follown['target']) continue; + if ($usern['username'] == $follown['target']) continue; $pr[$usern['username']] += $pr[$follown['target']] / 10; }