diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-09-26 22:09:55 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-09-26 22:09:55 +0000 |
commit | 5c65da5bffd8c464a8afb6fadbc3aa5549322880 (patch) | |
tree | bcb6b9e87d092e7d9197eccd134653f9e1c02a85 /src/SemanticScuttle/Service/SearchHistory.php | |
parent | daee83fd2c45db473bf151897251783f84820f9e (diff) | |
download | semanticscuttle-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.php | 2 |
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) { |