From: Florent Bruneau Date: Sun, 6 Jul 2008 11:52:54 +0000 (+0200) Subject: Wrap the xsrf token field in a div for html validation. X-Git-Tag: xorg/0.9.17~52 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5996b36f2abc8388cf20720eb9604869854c9c61;p=platal.git Wrap the xsrf token field in a div for html validation. Signed-off-by: Florent Bruneau --- 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 ''; }