]> granicus.if.org Git - php/commitdiff
(php_error) only set php_errormsg if we (still) have an active_symbol_table.
authorThies C. Arntzen <thies@php.net>
Wed, 12 Jul 2000 11:59:09 +0000 (11:59 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 12 Jul 2000 11:59:09 +0000 (11:59 +0000)
main/main.c

index 323bc424e42c604b03d86b23c819660987296932..0315918f1b230bfcff2e461ac23e7f22aa0737f6 100644 (file)
@@ -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;