Commit 3a774f5e authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Only search active users

parent d14c3d73
......@@ -85,7 +85,7 @@ class PluginSearchInternal extends PluginSearch {
' . $prefix . 'usr u
LEFT JOIN ' . $prefix . 'artefact a ON u.id=a.owner
WHERE
u.id <> 0
u.id <> 0 AND u.active == 1
AND ((
u.preferredname IS NULL
AND (
......@@ -109,7 +109,7 @@ class PluginSearchInternal extends PluginSearch {
FROM ' . $prefix . 'artefact a
INNER JOIN ' . $prefix .'usr u ON u.id = a.owner
WHERE
u.id <> 0
u.id <> 0 AND u.active == 1
AND ((
u.preferredname IS NULL
AND (
......
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