mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
FIX: remove parameters from function calls
This commit is contained in:
parent
e14464f574
commit
84a79995d9
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user