X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FQueue%2FErrorPolicy.php;h=600b45d25a626402f5d790ce9af9f39abd20e3f3;hb=2058bf545dd527f93bf685a9ac11c9bc4bd2a49a;hp=f87c5df7738affdb1081ba54ad618f6f1e2e73bf;hpb=01f7363f74d44b4ff35161c02d7975b7993a2863;p=civicrm-core.git diff --git a/CRM/Queue/ErrorPolicy.php b/CRM/Queue/ErrorPolicy.php index f87c5df773..600b45d25a 100644 --- a/CRM/Queue/ErrorPolicy.php +++ b/CRM/Queue/ErrorPolicy.php @@ -63,10 +63,10 @@ class CRM_Queue_ErrorPolicy { $this->active = TRUE; $this->backup = []; foreach ([ - 'display_errors', - 'html_errors', - 'xmlrpc_errors', - ] as $key) { + 'display_errors', + 'html_errors', + 'xmlrpc_errors', + ] as $key) { $this->backup[$key] = ini_get($key); ini_set($key, 0); } @@ -82,10 +82,10 @@ class CRM_Queue_ErrorPolicy { $this->errorScope = NULL; restore_error_handler(); foreach ([ - 'display_errors', - 'html_errors', - 'xmlrpc_errors', - ] as $key) { + 'display_errors', + 'html_errors', + 'xmlrpc_errors', + ] as $key) { ini_set($key, $this->backup[$key]); } $this->active = FALSE;