|
@@ -155,7 +155,7 @@ |
|
|
block discarded – undo |
|
155
|
155
|
$query->distinct = true; |
|
156
|
156
|
$query->select = $this->db->getDriverType() === 'pgsql' ? '"role" AS "name"' : '`role` AS `name`'; |
|
157
|
157
|
$query->table = $this->db->getDriverType() === 'pgsql' ? '"rbac_user"' : '`rbac_user`'; |
|
158
|
|
- $query->addWhere(($this->db->getDriverType() === 'pgsql' ? '"user"=' : '`user`=') . $userId); |
|
|
158
|
+ $query->addWhere(($this->db->getDriverType() === 'pgsql' ? '"user"=' : '`user`=').$userId); |
|
159
|
159
|
$query->single = false; |
|
160
|
160
|
|
|
161
|
161
|
return $query->run(\PDO::FETCH_ASSOC); |
Please login to merge, or discard this patch.