From bc86ffa92761cfd2cc66843c5d1cef5779420b9a Mon Sep 17 00:00:00 2001
From: Coleman Watts <coleman@civicrm.org>
Date: Sat, 28 Dec 2013 21:33:55 -0800
Subject: [PATCH] CRM_Core_Session - allow empty string in setStatus

---
 CRM/Core/Session.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CRM/Core/Session.php b/CRM/Core/Session.php
index d667b83725..7390bd1959 100644
--- a/CRM/Core/Session.php
+++ b/CRM/Core/Session.php
@@ -496,7 +496,7 @@ class CRM_Core_Session {
     if (!isset(self::$_singleton->_session[self::$_singleton->_key]['status'])) {
       self::$_singleton->_session[self::$_singleton->_key]['status'] = array();
     }
-    if ($text) {
+    if ($text || $title) {
       if ($options['unique']) {
         foreach (self::$_singleton->_session[self::$_singleton->_key]['status'] as $msg) {
           if ($msg['text'] == $text && $msg['title'] == $title) {
-- 
2.25.1