From f7d26afa755b66d102728429d6e6c67d82257816 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Fri, 3 Sep 2010 21:03:48 +0000
Subject: [PATCH] #873240 thsutton: Use isset() to avoid notices.

---
 CHANGELOG.txt   | 1 +
 feeds.pages.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 6204d910..4e2ac0de 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,7 @@
 Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
 --------------------------------
 
+- #873240 thsutton: Use isset() to avoid notices.
 - #878528 Sutharsan: Don't show file in UI if file does not exist.
 - #901798 alex_b: Fix time off in SitemapParser.
 - #885724 eliotttf: Avoid array_flip() on non scalars.
diff --git a/feeds.pages.inc b/feeds.pages.inc
index 6b28d558..385844ba 100644
--- a/feeds.pages.inc
+++ b/feeds.pages.inc
@@ -169,7 +169,7 @@ function theme_feeds_upload($element) {
     $output .= '<div class="file-size">';
     $output .= format_size($info['size']);
     $output .= '</div>';
-    if ($info['mime']) {
+    if (isset($info['mime'])) {
       $output .= '<div class="file-mime">';
       $output .= check_plain($info['mime']);
       $output .= '</div>';
-- 
GitLab