diff --git a/src/scripting/perl/hooks.c b/src/scripting/perl/hooks.c index 54b9b1e5..31071c6d 100644 --- a/src/scripting/perl/hooks.c +++ b/src/scripting/perl/hooks.c @@ -164,6 +164,8 @@ script_hook_pre_format_html(va_list ap, void *data) struct fragment *fragment = get_cache_fragment(cached); char *url = struri(cached->uri); + evhook_use_params(ses && cached); + if (my_perl && url && cached->length && *fragment->data) do_script_hook_pre_format_html(url, cached, fragment);