From c9e63a2c5387d40b1f43c4379d3811f17ed708b4 Mon Sep 17 00:00:00 2001 From: Ilan Parmentier Date: Tue, 16 Feb 2021 19:20:15 +0100 Subject: [PATCH] Inversion of var $title and $anchorText This mistyping lead to display post title instead of anchor text defined in configuration's widget. --- Block/Widget/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Widget/Link.php b/Block/Widget/Link.php index 68bb5539..521cc144 100644 --- a/Block/Widget/Link.php +++ b/Block/Widget/Link.php @@ -74,7 +74,7 @@ protected function _toHtml() if (!$href) { return $this->escapeHtml($title); } else { - return '' . $this->escapeHtml($title) . ''; + return '' . $this->escapeHtml($anchorText) . ''; } }