fix download url

This commit is contained in:
wlx 2012-12-01 10:43:03 +00:00
parent db90068e49
commit 834e378db8
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ $this->breadcrumb()->setSeparator(' > ');
<ul>
<?php foreach ($this->paginator as $item): ?>
<li> <?php echo $item['reference']; ?>
<?php if (!empty($ref->link)) :
echo ' <a href="'.$ref->link.'">下载</a>';
<?php if (!empty($item['link'])) :
echo ' <a href="'.$item['link'].'">下载</a>';
endif;
?>
</li>