1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

PHP8 class cleanup

This commit is contained in:
Cameron
2021-01-06 11:52:29 -08:00
parent 5404cf2dfc
commit ac9c19bae9
5 changed files with 40 additions and 9 deletions

View File

@@ -235,7 +235,7 @@ class e_ranks
$lastRank = count($this->ranks['data']);
$rank = false;
if($level <= $this->ranks['data'][0]['thresh'])
if($level <= varset($this->ranks['data'][0]['thresh']))
{
$rank = 1;
}