diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 81a292a..f94c2f8 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -70,7 +70,7 @@ class FrontendEditPanel { */ public function editPanel($content, array $conf, $currentRecord = '', array $dataArr = array(), $table = '', $allow = '', $newUID = 0, array $hiddenFields = array()) { // Special content is about to be shown, so the cache must be disabled. - $GLOBALS['TSFE']->set_no_cache('Frontend edit panel is shown'); + $GLOBALS['TSFE']->set_no_cache('Frontend edit panel is shown', TRUE); $formName = 'TSFE_EDIT_FORM_' . substr($GLOBALS['TSFE']->uniqueHash(), 0, 4); $formTag = '
'; $sortField = $GLOBALS['TCA'][$table]['ctrl']['sortby']; @@ -186,7 +186,7 @@ class FrontendEditPanel { */ public function editIcons($content, $params, array $conf = array(), $currentRecord = '', array $dataArr = array(), $addUrlParamStr = '', $table, $editUid, $fieldList) { // Special content is about to be shown, so the cache must be disabled. - $GLOBALS['TSFE']->set_no_cache('Display frontend edit icons'); + $GLOBALS['TSFE']->set_no_cache('Display frontend edit icons', TRUE); $style = $conf['styleAttribute'] ? ' style="' . htmlspecialchars($conf['styleAttribute']) . '"' : ''; $iconTitle = $this->cObj->stdWrap($conf['iconTitle'], $conf['iconTitle.']); $iconImg = $conf['iconImg'] ? $conf['iconImg'] : '';