]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix nasty bug with $withResults in getAllSearches()
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 26 Sep 2010 22:09:55 +0000 (22:09 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 26 Sep 2010 22:09:55 +0000 (22:09 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@753 b3834d28-1941-0410-a4f8-b48e95affb8f

src/SemanticScuttle/Service/SearchHistory.php

index 4947bf7a71c4b9686fc9b6936ffb3f649a44dd7e..6ec240a6ef0c0aafd4a7d85184a85ad08e8bf846 100644 (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) {