From 5c65da5bffd8c464a8afb6fadbc3aa5549322880 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sun, 26 Sep 2010 22:09:55 +0000 Subject: fix nasty bug with $withResults in getAllSearches() git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@753 b3834d28-1941-0410-a4f8-b48e95affb8f --- src/SemanticScuttle/Service/SearchHistory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SemanticScuttle/Service/SearchHistory.php') 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) { -- cgit v1.2.3