summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-12-12 22:43:00 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2013-12-12 22:43:00 +0100
commit3789cf50e7cf08a670d47cba55df5e26151bdcca (patch)
treea2e4b657829785dba4eab9f9b6506dd4bf24da0c
parentd00da128e0297425fd393b69e55987abb2e0e50d (diff)
Revert "less equal signs and goddamnit php dont spit out warnings if it worked"
-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);