summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/SearchHistory.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-26 22:09:55 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-26 22:09:55 +0000
commit5c65da5bffd8c464a8afb6fadbc3aa5549322880 (patch)
treebcb6b9e87d092e7d9197eccd134653f9e1c02a85 /src/SemanticScuttle/Service/SearchHistory.php
parentdaee83fd2c45db473bf151897251783f84820f9e (diff)
downloadsemanticscuttle-5c65da5bffd8c464a8afb6fadbc3aa5549322880.tar.gz
semanticscuttle-5c65da5bffd8c464a8afb6fadbc3aa5549322880.tar.bz2
fix nasty bug with $withResults in getAllSearches()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@753 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/Service/SearchHistory.php')
-rw-r--r--src/SemanticScuttle/Service/SearchHistory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/SearchHistory.php b/src/SemanticScuttle/Service/SearchHistory.php
index 4947bf7..6ec240a 100644
--- a/src/SemanticScuttle/Service/SearchHistory.php
+++ b/src/SemanticScuttle/Service/SearchHistory.php
@@ -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) {