]> granicus.if.org Git - php/commitdiff
Minor fix for html_errors=on in php_error_docref.
authorWez Furlong <wez@php.net>
Sun, 11 Aug 2002 09:52:06 +0000 (09:52 +0000)
committerWez Furlong <wez@php.net>
Sun, 11 Aug 2002 09:52:06 +0000 (09:52 +0000)
main/main.c

index 685e787f13c8aa55f32780063f931d62c1e130dc..6ccacb233ec25c3d701f78d01f2d9d8c91e0480c 100644 (file)
@@ -434,7 +434,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
                                }
                        }
                        if (PG(html_errors)) {
-                               php_error(type, "%s(%s) [<a href='%s%s%s'>%s</a>]: %s", get_active_function_name(TSRMLS_C), params, docref_root, docref, docref, docref_target, buffer);
+                               php_error(type, "%s(%s) [<a href='%s%s%s'>%s</a>]: %s", get_active_function_name(TSRMLS_C), params, docref_root, docref, docref_target, docref, buffer);
                        } else {
                                php_error(type, "%s(%s) [%s%s%s]: %s", get_active_function_name(TSRMLS_C), params, docref_root, docref, docref_target, buffer);
                        }