From eb8f7cceadcf817d3582884723268c07b8d8a380 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 17 Jan 2003 18:12:38 +0000 Subject: [PATCH] - MFH: Fixed a bug that made that no newline was displayed when there was no value for a row. --- ext/standard/info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/info.c b/ext/standard/info.c index 36adf9b973..67255c3646 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -768,14 +768,14 @@ PHPAPI void php_info_print_table_row(int num_cols, ...) PUTS(row_element); if (i < num_cols-1) { PUTS(" => "); - } else { - PUTS("\n"); } } } if (PG(html_errors)) { php_printf(" "); - } + } else if (i == (num_cols - 1)) { + PUTS("\n"); + } } if (PG(html_errors)) { php_printf("\n"); -- 2.40.0