From 88113794fd4c7e222a53d7cc8df13ad6c7f20c8f Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Wed, 12 Jul 2000 11:59:09 +0000 Subject: [PATCH] (php_error) only set php_errormsg if we (still) have an active_symbol_table. --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 323bc424e4..0315918f1b 100644 --- a/main/main.c +++ b/main/main.c @@ -440,7 +440,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ break; } - if (PG(track_errors)) { + if (PG(track_errors) && EG(active_symbol_table)) { pval *tmp; args = orig_args; -- 2.40.0