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:
@@ -1209,6 +1209,7 @@ class user_class
|
||||
{
|
||||
while ($row = $sql->fetch())
|
||||
{
|
||||
$row['user_id'] = (int) $row['user_id'];
|
||||
$ret[$row['user_id']] = $row;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user