summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post_handler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/post_handler.c b/post_handler.c
index fb1bb29..e0fb672 100644
--- a/post_handler.c
+++ b/post_handler.c
@@ -174,6 +174,10 @@ void suhosin_unhook_post_handlers(TSRMLS_D)
174{ 174{
175 zend_ini_entry *ini_entry; 175 zend_ini_entry *ini_entry;
176 176
177#if PHP_VERSION_ID >= 50400
178 /* unhook the php_rfc1867_callback */
179 php_rfc1867_callback = old_rfc1867_callback;
180#endif
177 /* Restore to an empty destructor */ 181 /* Restore to an empty destructor */
178 SG(known_post_content_types).pDestructor = NULL; 182 SG(known_post_content_types).pDestructor = NULL;
179 183