Skip to content

Commit 7f1ad23

Browse files
author
Melvyn Sopacua
committed
(xslt_set_error_handler) Fixes array 'fields' argument to contain correct
information. Patch by Lenar Lohmus. @- Fixed fields argument to contain correct info. (Lenar Lohmus)
1 parent 1014d78 commit 7f1ad23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/xslt/sablot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ static MH_ERROR error_print(void *user_data, SablotHandle proc, MH_ERROR code, M
14831483
strlcpy(val, *fields + pos + 1, len - pos);
14841484

14851485
/* Add it */
1486-
add_assoc_stringl_ex(argv[3], key, pos, val, len - pos - 1, 1);
1486+
add_assoc_stringl_ex(argv[3], key, pos + 1, val, len - pos - 1, 1);
14871487

14881488
/* Cleanup */
14891489
efree(key);

0 commit comments

Comments
 (0)