projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec15a3
)
CRM_Core_Session - allow empty string in setStatus
author
Coleman Watts
<coleman@civicrm.org>
Sun, 29 Dec 2013 05:33:55 +0000
(21:33 -0800)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 29 Dec 2013 05:33:55 +0000
(21:33 -0800)
CRM/Core/Session.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Session.php
b/CRM/Core/Session.php
index d667b837255c79ecd173a89864e1ebdd24a48b7c..7390bd19599e979cc134add6cf76176417837659 100644
(file)
--- 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) {