Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1f061c4a
Commit
1f061c4a
authored
Feb 13, 2007
by
Martyn Smith
Committed by
Martyn Smith
Feb 13, 2007
Browse files
Remove "creative" SQL operators
parent
376b4d7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/search/internal/lib.php
View file @
1f061c4a
...
...
@@ -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 (
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment