Skip to content
Permalink
Browse files

Wrong path for attachments image in backend files manager

  • Loading branch information...
xillibit committed Sep 18, 2015
1 parent 306bee8 commit 8b0af8b0df055ef776372d0f13033db6000b81e2
@@ -16,7 +16,7 @@
<a href="<?php echo $attachment->getUrl(); ?>" title="<?php echo $attachment->getFilename(); ?>">
<?php if ($attachment->isImage())
{
echo '<img src="' . $attachment->getUrl(true) . ' " height="40" width="40" />';
echo '<img src="' . JUri::root() . $attachment->getUrl(true) . ' " height="40" width="40" />';
}
else
{
@@ -16,7 +16,7 @@
<a href="<?php echo $attachment->getUrl(); ?>" title="<?php echo $attachment->getFilename(); ?>">
<?php if ($attachment->isImage())
{
echo '<img src="' . $attachment->getUrl(true) . ' " height="40" width="40" />';
echo '<img src="' . JUri::root() . $attachment->getUrl(true) . ' " height="40" width="40" />';
}
else
{

0 comments on commit 8b0af8b

Please sign in to comment.
You can’t perform that action at this time.