From 3b67efbf1b1678ea1ea67a023b4e92a4d640ceec Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 6 Jul 2008 13:52:54 +0200 Subject: [PATCH] Wrap the xsrf token field in a div for html validation. Signed-off-by: Florent Bruneau --- plugins/function.xsrf_token_field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/function.xsrf_token_field.php b/plugins/function.xsrf_token_field.php index 8eb2430..3b6932e 100644 --- a/plugins/function.xsrf_token_field.php +++ b/plugins/function.xsrf_token_field.php @@ -21,7 +21,7 @@ function smarty_function_xsrf_token_field($params, &$smarty) { if (S::has('xsrf_token')) { - return ''; + return '
'; } return ''; } -- 2.1.4