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:
af730db
)
CRM-14356 - CRM_Core_Session - Guard against unset value
author
Tim Otten
<totten@civicrm.org>
Fri, 11 Apr 2014 22:59:30 +0000
(15:59 -0700)
committer
Tim Otten
<totten@civicrm.org>
Fri, 11 Apr 2014 23:01:06 +0000
(16:01 -0700)
CRM/Core/Session.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Session.php
b/CRM/Core/Session.php
index c1a747b1ef9818400ceccfc4c8af8b279497898d..bebced13bc6c2f01e85f0b5eb785ff6841d1175b 100644
(file)
--- a/
CRM/Core/Session.php
+++ b/
CRM/Core/Session.php
@@
-119,7
+119,8
@@
class CRM_Core_Session {
}
$config =& CRM_Core_Config::singleton();
if ($config->userSystem->is_drupal && function_exists('drupal_session_start')) {
- if ($GLOBALS['lazy_session'] != true) {
+ // https://issues.civicrm.org/jira/browse/CRM-14356
+ if (! (isset($GLOBALS['lazy_session']) && $GLOBALS['lazy_session'] == true)) {
drupal_session_start();
}
$_SESSION = array();