Author Topic: components/com_virtuemart/views/productdetails/tmpl/default_reviews.php error  (Read 327 times)

zirhut

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 1
There is code:
Code: [Select]
<?php
if ($this->allowReview and $review_editable) { // line 101
?>

<div class="write-reviews"> // line 103
...
<?php } else if($review_editable and $this->allowRating) { // line 148 ?>
...
                </div> // line 153
<?php
}  // line 153

closing </div> tag is at wrong place.
it should be before } else {

Joomla! 3.8.5
VirtueMart 3.2.12

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
right, thank you.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/