Skip to content

Commit

Permalink
Fix outputting image in display mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Apr 1, 2014
1 parent 7cad70f commit 165961f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/Ui/VarRenderer/Html.php
Expand Up @@ -1169,7 +1169,7 @@ protected function _renderVarDisplay_image($form, &$var, &$vars)
$img->add('f', $image['img']['file']);
}

return Horde_Themes_Image::tag((string)$img);
return '<img src="' . $img . '" />';
}

protected function _renderVarDisplay_phone($form, &$var, &$vars)
Expand Down

0 comments on commit 165961f

Please sign in to comment.