summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorklausi2012-06-20 16:07:38 (GMT)
committer Matthias Hutterer2012-06-20 16:07:38 (GMT)
commit6bfabf55319aa36b467c376f849cfefb43954f9a (patch)
treeba1f85c6675a6861f1613c8618739830e965125f
parentc531fd6b247acec4ff0e86e98e2bfbd3ba13edd3 (diff)
Issue #1631000 by klausi: Fixed Strict warning: Declaration of ContentTaxonomyAutocompleteModeratedTermsSearchAPIProcessor.
-rw-r--r--includes/content_taxonomy_autocomplete_moderated_terms.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/content_taxonomy_autocomplete_moderated_terms.inc b/includes/content_taxonomy_autocomplete_moderated_terms.inc
index d2e3c2e..c1788b6 100644
--- a/includes/content_taxonomy_autocomplete_moderated_terms.inc
+++ b/includes/content_taxonomy_autocomplete_moderated_terms.inc
@@ -24,7 +24,7 @@ class ContentTaxonomyAutocompleteModeratedTermsSearchAPIProcessor extends Search
foreach ($items as &$item) {
foreach ($fields as $search_api_property_name => $field) {
if (isset($item[$search_api_property_name])) {
- $this->processField($item[$search_api_property_name]['value'], $item[$search_api_property_name]['type'], $field);
+ $this->processTaxonomyField($item[$search_api_property_name]['value'], $item[$search_api_property_name]['type'], $field);
}
}
}
@@ -36,7 +36,7 @@ class ContentTaxonomyAutocompleteModeratedTermsSearchAPIProcessor extends Search
* As such a field can be nested, recursions are used until we reach the top
* level.
*/
- protected function processField(&$value, &$type, $field) {
+ protected function processTaxonomyField(&$value, &$type, $field) {
if (!isset($value) || $value === '') {
return;
}
@@ -44,7 +44,7 @@ class ContentTaxonomyAutocompleteModeratedTermsSearchAPIProcessor extends Search
$inner_type = $t1 = substr($type, 5, -1);
foreach ($value as &$v) {
$t1 = $inner_type;
- $this->processField($v, $t1, $field);
+ $this->processTaxonomyField($v, $t1, $field);
}
return;
}