Commit 4b5fef29e172f99ad0061dd3133bbec3a0e127fc
1 parent
1b3d6beb
KTS-4014. A space was missing before the "limit" parameter in the sql query.
"Advanced Search renders error" Fixed. Committed by: Megan Watson Reviewed by: Kevin Cyster
Showing
1 changed file
with
1 additions
and
1 deletions
search2/search/expr.inc.php
| ... | ... | @@ -1450,7 +1450,7 @@ class SQLQueryBuilder implements QueryBuilder |
| 1450 | 1450 | $config = KTConfig::getSingleton(); |
| 1451 | 1451 | $maxSqlResults = $config->get('search/maxSqlResults', 1000); |
| 1452 | 1452 | |
| 1453 | - $sql .= "limit $maxSqlResults"; | |
| 1453 | + $sql .= " limit $maxSqlResults"; | |
| 1454 | 1454 | |
| 1455 | 1455 | return $sql; |
| 1456 | 1456 | } | ... | ... |