From: Tim Otten Date: Fri, 11 Apr 2014 22:59:30 +0000 (-0700) Subject: CRM-14356 - CRM_Core_Session - Guard against unset value X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2c85a284a6b071b3d6b118d62f604e5cae917e94;p=civicrm-core.git CRM-14356 - CRM_Core_Session - Guard against unset value --- diff --git a/CRM/Core/Session.php b/CRM/Core/Session.php index c1a747b1ef..bebced13bc 100644 --- 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();