summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index 7616f5645..6b5a49f15 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') {
- $value = @iconv('UTF-8', 'UTF-8//IGNORE', $value);
+ $array[$key] === iconv('UTF-8', 'UTF-8//IGNORE', $value);
}
}
parent::fromRow($array);