diff --git a/application/modules/auth/models/GroupModel.php b/application/modules/auth/models/GroupModel.php index e25593dfd8bb29a9dbd1a9aeb86cbca30a256b6b..0470412bf5aeb947337d40f98c4c37452d05c198 100644 --- a/application/modules/auth/models/GroupModel.php +++ b/application/modules/auth/models/GroupModel.php @@ -163,7 +163,7 @@ class Auth_GroupModel extends Unl_Model } $select->where('childGroup IN(?)', $group->getId()); } else { - $select->where('childGroup = ?', $group->getId()); + $select->where($db->quoteInto('childGroup = ?', $group->getId())); } $records = $select->query()->fetchAll();