From e120ee86b073148fa51d46f38ad8bf73f8329121 Mon Sep 17 00:00:00 2001
From: Chris Leppanen <chris.leppanen@gmail.com>
Date: Wed, 26 Sep 2012 21:07:54 -0700
Subject: [PATCH] Re-organize FeedsProcessor::process() so that it is clearer.

---
 plugins/FeedsProcessor.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/FeedsProcessor.inc b/plugins/FeedsProcessor.inc
index add15455..31d30b14 100644
--- a/plugins/FeedsProcessor.inc
+++ b/plugins/FeedsProcessor.inc
@@ -117,7 +117,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
       }
 
       $hash = $this->hash($item);
-      $changed = ($hash == $this->getHash($entity_id));
+      $changed = ($hash !== $this->getHash($entity_id));
       $force_update = $this->config['skip_hash_check'];
 
       // Do not proceed if the item exists, has not changed, and we're not
-- 
GitLab