Skip to content
Snippets Groups Projects
Commit bc86ffa9 authored by colemanw's avatar colemanw
Browse files

CRM_Core_Session - allow empty string in setStatus

parent 7ec15a3f
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment