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:
cweiske 2010-09-26 22:09:55 +00:00
parent daee83fd2c
commit 5c65da5bff

View File

@ -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) {