mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
BUGFIX Check value() return on MSSQLDatabase::fullTextEnabled()
This commit is contained in:
parent
adef3ced70
commit
9bbe3603ee
@ -118,7 +118,7 @@ class MSSQLDatabase extends SS_Database {
|
||||
* @return boolean
|
||||
*/
|
||||
public function fullTextEnabled() {
|
||||
return (boolean) DB::query("SELECT is_fulltext_enabled FROM sys.databases WHERE name = '$this->database'");
|
||||
return (boolean) DB::query("SELECT is_fulltext_enabled FROM sys.databases WHERE name = '$this->database'")->value();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user