Skip to content
Code-Schnipsel Gruppen Projekte
Commit 04ec0d1a erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

fix: bind param for groupId with UUID groupId

Übergeordneter e1f60a37
No related branches found
No related tags found
1 Merge Request!10Next 2.x
Pipeline #12253 mit Warnungen bestanden mit Phase
in 10 Sekunden
......@@ -268,10 +268,11 @@ public function getMembershipIdsByGroupIds($groupIds)
$binds = [];
foreach ($groupIds as $groupId) {
$whereOr[] = '`groupIds` LIKE :' . $groupId;
$binds[$groupId] = [
$bindParam = md5($groupId);
$whereOr[] = '`groupIds` LIKE :' . $bindParam;
$binds[$bindParam] = [
'value' => '%,' . $groupId . ',%',
'type' => \PDO::PARAM_INT
'type' => \PDO::PARAM_STR
];
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren