From 84a79995d928d04e5db2eb205e464e3bd7104314 Mon Sep 17 00:00:00 2001 From: torleif Date: Thu, 3 Dec 2015 14:49:26 +1300 Subject: [PATCH] FIX: remove parameters from function calls --- code/search/SearchIndex.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/search/SearchIndex.php b/code/search/SearchIndex.php index ec87358..ad9a56a 100644 --- a/code/search/SearchIndex.php +++ b/code/search/SearchIndex.php @@ -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); }