diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php index f2b8662..ee742cb 100644 --- a/code/MSSQLDatabase.php +++ b/code/MSSQLDatabase.php @@ -138,7 +138,7 @@ class MSSQLDatabase extends SS_Database { FROM sys.databases WHERE name = '$this->database' ")->value(); - $this->fullTextEnabled = ($isInstalled && $enabledForDb); + $this->fullTextEnabled = (boolean) ($isInstalled && $enabledForDb); } return $this->fullTextEnabled; }