MDL-54844 mod_glossary: Don't append AND as it's done later
This commit is contained in:
committed by
Andrew Nicols
parent
06d05f461e
commit
d44fc20414
@@ -3710,7 +3710,7 @@ function glossary_get_search_terms_sql(array $terms, $fullsearch = true, $glossa
|
||||
|
||||
// Reduce the search results by restricting it to one glossary.
|
||||
if (isset($glossaryid)) {
|
||||
$conditions[] = 'AND ge.glossaryid = :glossaryid';
|
||||
$conditions[] = 'ge.glossaryid = :glossaryid';
|
||||
$params['glossaryid'] = $glossaryid;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user