Skip to content
Snippets Groups Projects
Commit 32617352 authored by Jared Hancock's avatar Jared Hancock
Browse files

faq: Fix download link on client article view

parent e1ca9757
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ $category=$faq->getCategory(); ...@@ -42,7 +42,7 @@ $category=$faq->getCategory();
<strong><?php echo __('Attachments');?>:</strong> <strong><?php echo __('Attachments');?>:</strong>
<?php foreach ($attachments as $att) { ?> <?php foreach ($attachments as $att) { ?>
<div> <div>
<a href="file.php?h=<?php echo $att->file->getDownloadUrl(); ?>" class="no-pjax"> <a href="<?php echo $att->file->getDownloadUrl(); ?>" class="no-pjax">
<i class="icon-file"></i> <i class="icon-file"></i>
<?php echo Format::htmlchars($att->getFilename()); ?> <?php echo Format::htmlchars($att->getFilename()); ?>
</a> </a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment