VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: zirhut on February 12, 2018, 16:57:12 pm

Title: components/com_virtuemart/views/productdetails/tmpl/default_reviews.php error
Post by: zirhut on February 12, 2018, 16:57:12 pm
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
Title: Re: components/com_virtuemart/views/productdetails/tmpl/default_reviews.php error
Post by: Milbo on February 19, 2018, 12:46:03 pm
right, thank you.