reverted last change
This commit is contained in:
parent
5c58d2c140
commit
7cc868fb3b
|
@ -2683,10 +2683,7 @@ class htmlLink extends htmlElement {
|
|||
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
||||
$image = '';
|
||||
if ($this->image != null) {
|
||||
$image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '">';
|
||||
if (!empty($this->text)) {
|
||||
$image .= ' ';
|
||||
}
|
||||
$image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '"> ';
|
||||
}
|
||||
$title = '';
|
||||
if ($this->title != null) {
|
||||
|
|
Loading…
Reference in New Issue