From 692cee83ca599011ac68fc0e9b801fb64c434a03 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 22 Jan 2020 12:04:59 -0800 Subject: [PATCH] Make sure user_id is an integer. --- e107_handlers/userclass_class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/e107_handlers/userclass_class.php b/e107_handlers/userclass_class.php index a4c4bf41c..cfba1b946 100644 --- a/e107_handlers/userclass_class.php +++ b/e107_handlers/userclass_class.php @@ -1209,6 +1209,7 @@ class user_class { while ($row = $sql->fetch()) { + $row['user_id'] = (int) $row['user_id']; $ret[$row['user_id']] = $row; } }