]> BookStack Code Mirror - bookstack/blobdiff - app/Entity.php
Add Carbon localization support
[bookstack] / app / Entity.php
index 8a15b5aa4d85a94c75d40e447248de1312eafb14..186059f00e13848d88d5db6dd82b932366bbb7f3 100644 (file)
@@ -175,7 +175,8 @@ class Entity extends Ownable
             }
         }
 
-        $isFuzzy = count($exactTerms) === 0 || count($fuzzyTerms) > 0;
+        $isFuzzy = count($exactTerms) === 0 && count($fuzzyTerms) > 0;
+
 
         // Perform fulltext search if relevant terms exist.
         if ($isFuzzy) {