From b64e7af5bb18104a92332fe5b554e394778172d8 Mon Sep 17 00:00:00 2001 From: Anja Leichsenring Date: Sun, 5 Apr 2015 14:08:38 +0200 Subject: [PATCH] [BUGFIX] Path to feedit edit action is wrong Upon clicking the feedit edit pencil icon in frontend, the redirect URL contains two times typo3, what leads to a wrong call to the frontend Change-Id: I88e2584cc0dff4be6562dbda64d723e9d9bea1d0 Resolves: #66279 Relates: #66052 Releases: master Reviewed-on: http://review.typo3.org/38490 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez --- Classes/FrontendEditPanel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 2f0df39..aca0a99 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -206,8 +206,7 @@ class FrontendEditPanel { $iconTitle = $this->cObj->stdWrap($conf['iconTitle'], $conf['iconTitle.']); $iconImg = $conf['iconImg'] ? $conf['iconImg'] : ''; $nV = GeneralUtility::_GP('ADMCMD_view') ? 1 : 0; - $adminURL = GeneralUtility::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir; - $icon = $this->editPanelLinkWrap_doWrap($iconImg, $adminURL . BackendUtility::getModuleUrl('record_edit', array('edit[' . $table . '][' . $editUid . ']' => 'edit', 'columnsOnly' => $fieldList, 'noView' => $nV)) . $addUrlParamStr); + $icon = $this->editPanelLinkWrap_doWrap($iconImg, BackendUtility::getModuleUrl('record_edit', array('edit[' . $table . '][' . $editUid . ']' => 'edit', 'columnsOnly' => $fieldList, 'noView' => $nV)) . $addUrlParamStr); if ($conf['beforeLastTag'] < 0) { $content = $icon . $content; } elseif ($conf['beforeLastTag'] > 0) {