mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
More type checks
This commit is contained in:
parent
42877f570d
commit
d1fafd760b
|
|
@ -198,6 +198,6 @@ class Numeric
|
|||
$numeric += pow(26, $i) * (ord($alpha[$length - $i - 1]) - 0x40);
|
||||
}
|
||||
|
||||
return $numeric - 1;
|
||||
return (int) $numeric - 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user