Fixed bug #17300: CSRF token invalid error when using the clickmenu in record list...
authorSteffen Kamper <info@sk-typo3.de>
Tue, 25 Jan 2011 19:41:16 +0000 (19:41 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 25 Jan 2011 19:41:16 +0000 (19:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10309 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_clickmenu.php

index 8810ca6..f59cd73 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
 
 2011-01-25  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #17300: CSRF token invalid error when using the clickmenu in record list to delete a record. (Thanks to Helmut Hummel)
        * Fixed bug #17299: Unable to set new Install Tool Password (Thanks to Helmut Hummel)
        * Merge of linkvalidator for RC3
        * Fixed bug #17286: sys_language -> flag selections ends at letter q (Thanks to Jo Hasenau)
index 8b47808..69cfa2f 100644 (file)
@@ -1754,6 +1754,7 @@ class SC_alt_clickmenu {
                        $this->content = $this->doc->insertStylesAndJS($this->content);
                        echo $this->content;
                } else {
+                       t3lib_formprotection_Factory::get()->persistTokens();
                        $this->content = $GLOBALS['LANG']->csConvObj->utf8_encode($this->content,$GLOBALS['LANG']->charSet);
                        t3lib_ajax::outputXMLreply($this->content);
                }