Skip to content
Snippets Groups Projects
Commit d93cc765 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #5628 compatibility with oracle

parent 327925d0
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ if ($whereSecurityOnEntities == '') { ...@@ -46,7 +46,7 @@ if ($whereSecurityOnEntities == '') {
$db = new Database(); $db = new Database();
$stmt = $db->query( $stmt = $db->query(
"SELECT DISTINCT(users.user_id), CONCAT(users.lastname,' ',users.firstname) as tag FROM users, users_entities " "SELECT DISTINCT(users.user_id), users.lastname || ' ' || users.firstname as tag FROM users, users_entities "
. " WHERE (" . " WHERE ("
. "lower(users.lastname) like lower(:what) " . "lower(users.lastname) like lower(:what) "
. " or lower(users.user_id) like lower(:what) " . " or lower(users.user_id) like lower(:what) "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment