From 9ccc4c53d20a3c3580f45e85c9b18a070eb4ead2 Mon Sep 17 00:00:00 2001
From: Vincent Massaro <vincent.massaro@yale.edu>
Date: Mon, 15 Apr 2013 10:04:48 -0400
Subject: [PATCH] fixed warnings

---
 FeedsSelfNodeProcessor.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/FeedsSelfNodeProcessor.inc b/FeedsSelfNodeProcessor.inc
index bb203bd..b05328a 100755
--- a/FeedsSelfNodeProcessor.inc
+++ b/FeedsSelfNodeProcessor.inc
@@ -90,7 +90,7 @@ class FeedsSelfNodeProcessor extends FeedsNodeProcessor {
       '@entity' => strtolower($info['label']),
     );
     $messages = array();
-    if ($state->updated) {
+    if (!empty($state->updated)) {
       $messages[] = array(
        'message' => t(
          'Updated @number @entity.',
@@ -98,7 +98,7 @@ class FeedsSelfNodeProcessor extends FeedsNodeProcessor {
         ),
       );
     }
-    if ($state->failed) {
+    if (!empty($state->failed)) {
       $messages[] = array(
        'message' => t(
           'Failed importing @number @entity.',
-- 
1.8.0

