Created
November 7, 2013 09:05
-
-
Save tony2001/7351443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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