Skip to content

Instantly share code, notes, and snippets.

@tony2001
Created November 7, 2013 09:05
Show Gist options
  • Save tony2001/7351443 to your computer and use it in GitHub Desktop.
Save tony2001/7351443 to your computer and use it in GitHub Desktop.
diff --git a/xdebug.c b/xdebug.c
index 9f024a5..bafef39 100644
--- a/xdebug.c
+++ b/xdebug.c
@@ -912,7 +912,7 @@ PHP_RINIT_FUNCTION(xdebug)
* Xdebug's error handler to keep soap fault from fucking up. */
if (XG(default_enable) && zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_SOAPACTION", 16, (void**)&dummy) == FAILURE) {
/* If zend_error_cb has been changed by another ext, register it as external cb */
- if (zend_error_cb != xdebug_old_error_cb) {
+ if (zend_error_cb != xdebug_new_error_cb) {
xdebug_external_error_cb = zend_error_cb;
}
zend_error_cb = xdebug_new_error_cb;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment