Skip to content

Commit

Permalink
remove () in empty model
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidpeywasti committed Feb 2, 2016
1 parent 0413827 commit aede545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/product/product_short.html5
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</figure>


<div class="title"><a href="<?= $this->link; ?>"><?= $this->title; ?> <?php if($this->model): ?> (<?= $this->model; ?>) <?php endif; ?></a></div>
<div class="title"><a href="<?= $this->link; ?>"><?= $this->title; ?> <?php if(!empty($this->model)): ?> (<?= $this->model; ?>) <?php endif; ?></a></div>


</div>

0 comments on commit aede545

Please sign in to comment.