Fix undefined constant

This commit is contained in:
slawkens 2020-06-26 23:47:14 +02:00
parent c6e55edb09
commit 0ac01b3f0d

View File

@ -45,7 +45,7 @@ $skill = POT::SKILL__LEVEL;
if(is_numeric($list))
{
$list = (int) $list;
if($list >= POT::SKILL_FIRST && $list <= SKILL__LAST)
if($list >= POT::SKILL_FIRST && $list <= POT::SKILL__LAST)
$skill = $list;
}
else