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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user