1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Make sure user_id is an integer.

This commit is contained in:
Cameron
2020-01-22 12:04:59 -08:00
parent e1e8a8b627
commit 692cee83ca

View File

@@ -1209,6 +1209,7 @@ class user_class
{
while ($row = $sql->fetch())
{
$row['user_id'] = (int) $row['user_id'];
$ret[$row['user_id']] = $row;
}
}