diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 071b75dc..2c4899cf 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -2683,10 +2683,7 @@ class htmlLink extends htmlElement { function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { $image = ''; if ($this->image != null) { - $image = '' . $this->text . ''; - if (!empty($this->text)) { - $image .= ' '; - } + $image = '' . $this->text . ' '; } $title = ''; if ($this->title != null) {