From 6c9f732729ca5a2c95694f6befacfdb852be5d5b Mon Sep 17 00:00:00 2001
From: Chong Kai Xiong <w_velocity@yahoo.com>
Date: Fri, 5 Nov 2010 01:33:01 +0800
Subject: [PATCH] * Fix PHP notice with Quotes module

---
 sites/all/modules/quotes/quotes.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sites/all/modules/quotes/quotes.module b/sites/all/modules/quotes/quotes.module
index 0e8b52b..4e9e4ed 100644
--- a/sites/all/modules/quotes/quotes.module
+++ b/sites/all/modules/quotes/quotes.module
@@ -1119,7 +1119,7 @@ function theme_quotes_quote($node, $teaser = FALSE, $bio = TRUE, $max_length = 0
     default:
       $bio = NULL;
   }
-  $citation = ($node->quotes_citation ? check_markup("<cite>". $node->quotes_citation ."</cite>", $format, FALSE) : '');
+  $citation = (!empty($node->quotes_citation) ? check_markup("<cite>". $node->quotes_citation ."</cite>", $format, FALSE) : '');
 
   return '<div class="quotes-quote">'. $body .'</div>'
          . ($author ? '<div class="quotes-author">'. $author .'</div>' : '')
-- 
1.5.5.6

