projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1782 from deepak-srivastava/upgrade
[civicrm-core.git]
/
CRM
/
Core
/
Error.php
diff --git
a/CRM/Core/Error.php
b/CRM/Core/Error.php
index fbf0ef7a47390c33a1dc69b145063454cc7dc2ed..4f8b855a2a224af8b9714f1057af0993bb158796 100644
(file)
--- a/
CRM/Core/Error.php
+++ b/
CRM/Core/Error.php
@@
-204,7
+204,11
@@
class CRM_Core_Error extends PEAR_ErrorStack {
echo "Sorry. A non-recoverable error has occurred. The error trace below might help to resolve the issue<p>";
CRM_Core_Error::debug(NULL, $error);
}
-
+ static $runOnce = FALSE;
+ if ($runOnce) {
+ exit;
+ }
+ $runOnce = TRUE;
self::abend(1);
}