diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-12 22:23:00 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-12 22:23:00 +0100 |
commit | d00da128e0297425fd393b69e55987abb2e0e50d (patch) | |
tree | 82e1605ae28a847bd830836dc9856a9a63d22d8d /db/item.php | |
parent | 321584dc33d17c3d3b4131785423c6beb65c774a (diff) |
less equal signs and goddamnit php dont spit out warnings if it worked
Diffstat (limited to 'db/item.php')
-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); |