Skip to content
Snippets Groups Projects
Commit 7d049c16 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix table name in SQL query, fixes #1727

parent ff2aca02
No related branches found
No related tags found
1 merge request!1124fix table name in SQL query, fixes #1727
Pipeline #7188 passed
......@@ -56,7 +56,7 @@ class InstituteSearch extends SearchType
ORDER BY `Name` ASC";
} else {
$query = "SELECT `Institut_id`, `Name`
FROM `Institute_id`
FROM `Institute`
JOIN `user_inst` USING (`Institut_id`)
WHERE `user_id` = :user_id
AND `Name` LIKE CONCAT('%', :input, '%')
......
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