Skip to content

Commit

Permalink
Merge branch 'bugfix/35-sql_error' into develop
Browse files Browse the repository at this point in the history
Issue: #35
  • Loading branch information
C-Duv committed Apr 21, 2019
2 parents 8cf128f + 096d010 commit f262c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/profile.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static function initProfile()

foreach ($DB->request('SELECT *
FROM `glpi_profilerights`
WHERE `profiles_id` ' . $_SESSION['glpiactiveprofile']['id'] . '
WHERE `profiles_id` = ' . $_SESSION['glpiactiveprofile']['id'] . '
AND `name` LIKE "%plugin_room%"') as $prof) {
$_SESSION['glpiactiveprofile'][$prof['name']] = $prof['rights'];
}
Expand Down

0 comments on commit f262c87

Please sign in to comment.