X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FTemporaryErrorScope.php;h=7f78496083669e2401bf87956ff5f15ca1da4b90;hb=64089c0f213c1d4c08e9f9faa3390a173d5c4a37;hp=eaf744a1ac4276541d4f2063a411610266fdb874;hpb=42bf93368ea81b2fa70fab038f3c884755e1ab88;p=civicrm-core.git diff --git a/CRM/Core/TemporaryErrorScope.php b/CRM/Core/TemporaryErrorScope.php index eaf744a1ac..7f78496083 100644 --- a/CRM/Core/TemporaryErrorScope.php +++ b/CRM/Core/TemporaryErrorScope.php @@ -72,17 +72,20 @@ class CRM_Core_TemporaryErrorScope { public static function getActive() { return array( '_PEAR_default_error_mode' => $GLOBALS['_PEAR_default_error_mode'], - '_PEAR_default_error_options' =>$GLOBALS['_PEAR_default_error_options'], + '_PEAR_default_error_options' => $GLOBALS['_PEAR_default_error_options'], 'modeException' => CRM_Core_Error::$modeException, ); } /** * Set the active error-handler settings + * + * @param string $frame */ public static function setActive($frame) { $GLOBALS['_PEAR_default_error_mode'] = $frame['_PEAR_default_error_mode']; $GLOBALS['_PEAR_default_error_options'] = $frame['_PEAR_default_error_options']; CRM_Core_Error::$modeException = $frame['modeException']; } + }