diff options
| -rw-r--r-- | src/sp_disabled_functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index d59dd93..8e96085 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -7,6 +7,9 @@ ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) | |||
| 7 | 7 | ||
| 8 | static char* get_complete_function_path( | 8 | static char* get_complete_function_path( |
| 9 | zend_execute_data const* const execute_data) { | 9 | zend_execute_data const* const execute_data) { |
| 10 | if (zend_is_executing() && !EG(current_execute_data)->func) { | ||
| 11 | return NULL; | ||
| 12 | } | ||
| 10 | if (!(execute_data->func->common.function_name)) { | 13 | if (!(execute_data->func->common.function_name)) { |
| 11 | return NULL; | 14 | return NULL; |
| 12 | } | 15 | } |
