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:
29f2b1a
)
getStatus() should be returning a string
author
Jon Goldberg
<jon@megaphonetech.com>
Thu, 26 Jan 2023 18:18:57 +0000
(13:18 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Mon, 20 Feb 2023 17:21:23 +0000
(12:21 -0500)
CRM/Core/Session.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Session.php
b/CRM/Core/Session.php
index f1edba894758545daf0f0f4441c1ab8b1e2e7b87..3f0011cc78cc8ddfa7689226d19e8db1064fa33c 100644
(file)
--- a/
CRM/Core/Session.php
+++ b/
CRM/Core/Session.php
@@
-431,13
+431,13
@@
class CRM_Core_Session {
* @param bool $reset
* Should we reset the status variable?.
*
- * @return
string
+ * @return
array
* the status message if any
*/
- public function getStatus($reset = FALSE) {
+ public function getStatus($reset = FALSE)
: array
{
$this->initialize();
- $status =
NULL
;
+ $status =
[]
;
if (array_key_exists('status', $this->_session[$this->_key])) {
$status = $this->_session[$this->_key]['status'];
}