From ff93d83d28cc170d3c62c945eeef2fba78684446 Mon Sep 17 00:00:00 2001 From: Under Sh4d0w Date: Wed, 13 Jul 2016 08:07:33 +0300 Subject: [PATCH] Fix Notice: Array to string conversion in Zend/Filter/StringTrim.php on line 99 --- library/Zend/Filter/StringTrim.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Zend/Filter/StringTrim.php b/library/Zend/Filter/StringTrim.php index 4f86d89e2c..e0e7b19f97 100644 --- a/library/Zend/Filter/StringTrim.php +++ b/library/Zend/Filter/StringTrim.php @@ -95,6 +95,10 @@ public function setCharList($charList) */ public function filter($value) { + if (!is_string($value)) { + return $value; + } + if (null === $this->_charList) { return $this->_unicodeTrim((string) $value); } else {