Skip to content
Snippets Groups Projects
Commit 99afb9fa authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Rasmus Fuhse
Browse files

fix table name in SQL query, fixes #1727

Closes #1727

Merge request studip/studip!1124
parent 41762317
No related branches found
No related tags found
No related merge requests found
......@@ -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