mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Cast MSSQLDatabase::fulltextEnabled() as boolean
This commit is contained in:
parent
a9c6c54f4c
commit
fd47409602
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user