summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-08-05 22:37:48 +0000
committerfoobar <sniper@php.net>2005-08-05 22:37:48 +0000
commit91860cf594b903b02c471eb1f5f2d815a4c997cb (patch)
tree242aa089461869f2be82451f87ac89f36375c277 /ext
parent894237d53127c6907e971826befc027aae33cbb9 (diff)
downloadphp-git-91860cf594b903b02c471eb1f5f2d815a4c997cb.tar.gz
No HTML output if html_errors is off (bug #34006)
Diffstat (limited to 'ext')
-rw-r--r--ext/odbc/php_odbc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index b3c10a568f..dc07182d52 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -314,7 +314,11 @@ static PHP_INI_DISP(display_defPW)
PUTS("********");
#endif
} else {
- PUTS("<i>no value</i>");
+ if (PG(html_errors)) {
+ PUTS("<i>no value</i>");
+ } else {
+ PUTS("no value");
+ }
}
}
/* }}} */