Skip to content

Commit

Permalink
- Fix bug, no more HTML output in CLI
Browse files Browse the repository at this point in the history
SVN Rev: 104
  • Loading branch information
derickr committed May 16, 2002
1 parent 1ff7f71 commit e47e7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdebug.c
Expand Up @@ -427,7 +427,7 @@ void xdebug_error_cb(int type, const char *error_filename, const uint error_line
}

if (EG(error_reporting) & type) {
print_stack (PG(html_errors), error_type_str, buffer, error_filename, error_lineno TSRMLS_CC);
print_stack (!(strcmp ("cli", sapi_module.name) == 0), error_type_str, buffer, error_filename, error_lineno TSRMLS_CC);
}

/* Log to logger */
Expand Down

0 comments on commit e47e7de

Please sign in to comment.