MINOR Cast MSSQLDatabase::fulltextEnabled() as boolean

This commit is contained in:
Sean Harvey 2010-03-11 09:46:16 +00:00
parent a9c6c54f4c
commit fd47409602

View File

@ -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;
}