Refactor function name

This commit is contained in:
Celestora 2021-10-09 22:44:48 +03:00
parent 5c9c09c7a9
commit b25af9b14d

View file

@ -398,7 +398,7 @@ class User extends RowModel
}
$total = max(100 - $incompleteness + $this->getRating(), 0);
if(quirk("profile.rating-bar-behaviour") === 0)
if(ovkGetQuirk("profile.rating-bar-behaviour") === 0)
$percent = intval(substr(strval($total), -2));
else
$percent = min($total, 100);