projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix name vs label for case roles
[civicrm-core.git]
/
CRM
/
Queue
/
ErrorPolicy.php
diff --git
a/CRM/Queue/ErrorPolicy.php
b/CRM/Queue/ErrorPolicy.php
index f87c5df7738affdb1081ba54ad618f6f1e2e73bf..600b45d25a626402f5d790ce9af9f39abd20e3f3 100644
(file)
--- a/
CRM/Queue/ErrorPolicy.php
+++ b/
CRM/Queue/ErrorPolicy.php
@@
-63,10
+63,10
@@
class CRM_Queue_ErrorPolicy {
$this->active = TRUE;
$this->backup = [];
foreach ([
$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);
}
$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 ([
$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;
ini_set($key, $this->backup[$key]);
}
$this->active = FALSE;