Skip to content

Commit

Permalink
[TASK] Improve CGL and adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Jan 9, 2025
1 parent 9ab1fbd commit c74bc80
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Classes/ViewHelpers/Backend/Link/IssueCommandViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper;

/**
* A view helper for creating edit on click links.
*
* @todo Check if this VH is really needed!
* A view helper for creating quick-edit links.
*/
class IssueCommandViewHelper extends AbstractTagBasedViewHelper
{
Expand Down Expand Up @@ -51,7 +49,7 @@ public function render(): string
$parameters = '&id='.$id.'&'.$parameters;

$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
$href = (string)$uriBuilder->buildUriFromRoute('tce_db') . $parameters . '&redirect=';
$href = $uriBuilder->buildUriFromRoute('tce_db') . $parameters . '&redirect=';
// @extensionScannerIgnoreLine
$href .= rawurlencode($redirectUrl ?: $request->getAttribute('normalizedParams')->getRequestUri());

Expand Down

0 comments on commit c74bc80

Please sign in to comment.