Avoid double load of PlBacktrace.
[platal.git] / plugins / function.xsrf_token.php
index 0b0c896..eed18f9 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -19,7 +19,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
 
-function smarty_function_xsrf_token($params, &$smarty) {
+function smarty_function_xsrf_token($params, $smarty) {
     return S::v('xsrf_token', '');
 }