ZF-12338: Zend_Filter_StripTags should return null if applied to a null value
Description
In Zend_Filter_StripTags, if the filter is applied to a null value empty string is returned.
/**
* Defined by Zend_Filter_Interface
*
* @todo improve docblock descriptions
*
* @param string $value
* @return string
*/
public function filter($value)
{
if (is_null($value)) {
return $value;
}
$value = (string)$value;
Comments
No comments to display