X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.xsrf_token_field.php;h=4baf2b57b37f291c7b58a78c9521854837d4031a;hb=refs%2Fheads%2Fcore%2Fmaster;hp=68d5e909e61db9817820ac8c1af014a29fb0d7bb;hpb=e92ecb8c24421ca1dd4f87ad7478d0d8277e1f60;p=platal.git diff --git a/plugins/function.xsrf_token_field.php b/plugins/function.xsrf_token_field.php index 68d5e90..4baf2b5 100644 --- a/plugins/function.xsrf_token_field.php +++ b/plugins/function.xsrf_token_field.php @@ -19,12 +19,12 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -function smarty_function_xsrf_token_field($params, &$smarty) { +function smarty_function_xsrf_token_field($params, $smarty) { if (S::has('xsrf_token')) { return '
'; } return ''; } -// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8: ?>