fix nasty bug with $withResults in getAllSearches()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@753 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
daee83fd2c
commit
5c65da5bff
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class SemanticScuttle_Service_SearchHistory extends SemanticScuttle_DbService
|
|||
if ($uId != null) {
|
||||
$sql.= ' AND uId = '.$uId;
|
||||
}
|
||||
if ($withResults = true) {
|
||||
if ($withResults == true) {
|
||||
$sql.= ' AND shNbResults > 0';
|
||||
}
|
||||
if ($distinct) {
|
||||
|
|
Loading…
Reference in a new issue