$fieldValue = $this->getValueField($fieldName);
// Now filter it through the value through the filter method
- $filteredValue = call_user_func_array(array($this, "doFilter" . ucfirst($filterMethod)), array($fieldValue));
+ $filteredValue = call_user_func_array(array($this, "doFilter" . $this->convertToClassName($filterMethod)), array($fieldValue));
// Assign it with a template variable
$this->getTemplateInstance()->assignVariable("block_" . $fieldName, $filteredValue);