From 3789cf50e7cf08a670d47cba55df5e26151bdcca Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 12 Dec 2013 22:43:00 +0100 Subject: Revert "less equal signs and goddamnit php dont spit out warnings if it worked" This reverts commit d00da128e0297425fd393b69e55987abb2e0e50d. --- db/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') 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); -- cgit v1.2.3