reverted last change

This commit is contained in:
Roland Gruber 2014-03-06 20:13:11 +00:00
parent 5c58d2c140
commit 7cc868fb3b
1 changed files with 1 additions and 4 deletions

View File

@ -2683,10 +2683,7 @@ class htmlLink extends htmlElement {
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
$image = ''; $image = '';
if ($this->image != null) { if ($this->image != null) {
$image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '">'; $image = '<img class="align-middle" src="' . $this->image . '" alt="' . $this->text . '">&nbsp;';
if (!empty($this->text)) {
$image .= '&nbsp;';
}
} }
$title = ''; $title = '';
if ($this->title != null) { if ($this->title != null) {