Commit ad03cb4c authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Fix not using brackets for table name (Bug #1190186)"

parents 40fc4950 b44eb79c
......@@ -162,7 +162,7 @@ else if ($selected == 'loginaslog') {
$ph = array_merge($userids, $userids);
$log = get_records_sql_array('
SELECT *
FROM event_log
FROM {event_log}
WHERE (usr IN (' . join(',', array_fill(0, count($userids), '?')) . ')
OR realusr IN (' . join(',', array_fill(0, count($userids), '?')) . '))
AND event = \'loginas\'
......
......@@ -256,7 +256,7 @@ function get_admin_user_search_results($search, $offset, $limit) {
artefacttype = \'email\'
AND LOWER(title) IN (
SELECT LOWER(title)
FROM artefact
FROM {artefact}
WHERE artefacttype = \'email\'
GROUP BY LOWER(title)
HAVING count(id) > 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment