1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +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()) while ($row = $sql->fetch())
{ {
$row['user_id'] = (int) $row['user_id'];
$ret[$row['user_id']] = $row; $ret[$row['user_id']] = $row;
} }
} }