BUGFIX Check value() return on MSSQLDatabase::fullTextEnabled()

This commit is contained in:
Sean Harvey 2010-02-03 08:13:41 +00:00
parent adef3ced70
commit 9bbe3603ee

View File

@ -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();
}
/**