summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/SearchHistory.php
diff options
context:
space:
mode:
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) {