Fixed bug #17300: CSRF token invalid error when using the clickmenu in record list...
[Packages/TYPO3.CMS.git] / typo3 / alt_clickmenu.php
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);
                }