FIX: remove parameters from function calls

This commit is contained in:
torleif 2015-12-03 14:49:26 +13:00
parent e14464f574
commit 84a79995d9
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);
}