diff options
-rw-r--r-- | db/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php index 6b5a49f15..7616f5645 100644 --- a/db/item.php +++ b/db/item.php @@ -159,7 +159,7 @@ class Item extends Entity implements IAPI { foreach($array as $key => $value) { if($key === 'body' || $key === 'author' || $key === 'title' || $key === 'guid' || $key === 'guidHash') { - $array[$key] === iconv('UTF-8', 'UTF-8//IGNORE', $value); + $value = @iconv('UTF-8', 'UTF-8//IGNORE', $value); } } parent::fromRow($array); |