mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #104 from torleif/patch-2
FIX: remove parameters from function calls
This commit is contained in:
commit
a2db7298cd
@ -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…
Reference in New Issue
Block a user