Commit 1f061c4a authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Remove "creative" SQL operators

parent 376b4d7b
......@@ -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 AND u.active == 1
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 AND u.active == 1
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