Merge pull request #104 from torleif/patch-2

FIX: remove parameters from function calls
This commit is contained in:
Damian Mooyman 2015-12-08 16:47:32 +13:00
commit a2db7298cd
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ abstract class SearchIndex extends ViewableData
if (preg_match('/^(\w+)\(/', $type, $match)) {
$type = $match[1];
}
list($type, $args) = Object::parse_class_spec($type);
if (is_subclass_of($type, 'StringField')) {
$this->addFulltextField($field);
}