Skip to content

Commit 1861f1b

Browse files
committed
Minor fix for html_errors=on in php_error_docref.
1 parent 4235583 commit 1861f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
434434
}
435435
}
436436
if (PG(html_errors)) {
437-
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);
437+
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);
438438
} else {
439439
php_error(type, "%s(%s) [%s%s%s]: %s", get_active_function_name(TSRMLS_C), params, docref_root, docref, docref_target, buffer);
440440
}

0 commit comments

Comments
 (0)