following yourself no longer boosts rank
This commit is contained in:
parent
3e330f8454
commit
0271be9256
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue