diff options
Diffstat (limited to 'src/sp_disabled_functions.c')
| -rw-r--r-- | src/sp_disabled_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index 45b8954..d59dd93 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -464,7 +464,7 @@ ZEND_FUNCTION(eval_filter_callback) { | |||
| 464 | void (*orig_handler)(INTERNAL_FUNCTION_PARAMETERS); | 464 | void (*orig_handler)(INTERNAL_FUNCTION_PARAMETERS); |
| 465 | const char* current_function_name = get_active_function_name(TSRMLS_C); | 465 | const char* current_function_name = get_active_function_name(TSRMLS_C); |
| 466 | 466 | ||
| 467 | if (SNUFFLEUPAGUS_G(in_eval) == true) { | 467 | if (SNUFFLEUPAGUS_G(in_eval) > 0) { |
| 468 | const char* filename = get_eval_filename(zend_get_executed_filename()); | 468 | const char* filename = get_eval_filename(zend_get_executed_filename()); |
| 469 | const int line_number = zend_get_executed_lineno(TSRMLS_C); | 469 | const int line_number = zend_get_executed_lineno(TSRMLS_C); |
| 470 | if (1 == SNUFFLEUPAGUS_G(config).config_eval->simulation) { | 470 | if (1 == SNUFFLEUPAGUS_G(config).config_eval->simulation) { |
