| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 31 | public function setAccessRightListUser(int $access_right_id, string $guid_admin) |
||
| 32 | { |
||
| 33 | $query = $this->getEntityManager()->getConnection()->prepare("UPDATE user SET id_access_right = :id_access_right WHERE |
||
| 34 | guid = :guid_user |
||
| 35 | "); |
||
| 36 | $query->bindValue("id_access_right", $access_right_id, \PDO::PARAM_INT); |
||
| 37 | $query->bindValue("guid_user", $guid_admin, \PDO::PARAM_STR); |
||
| 38 | $query->execute(); |
||
| 39 | } |
||
| 41 |