Author Topic: Minor error in the orders list template  (Read 451 times)

sealion

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 53
    • Spiral Scripts
Minor error in the orders list template
« on: May 06, 2015, 15:01:57 pm »
There is a small  error in components/com_virtuemart/views/orders/tmpl/list.php

where you have

Code: [Select]
if (count($this->orderlist) == 0) {
//echo vmText::_('COM_VIRTUEMART_ACC_NO_ORDER');
echo shopFunctionsF::getLoginForm(false,true);
} else {

it should be

Code: [Select]
if (count($this->orderlist) == 0) {
//echo vmText::_('COM_VIRTUEMART_ACC_NO_ORDER');
echo shopFunctionsF::getLoginForm(false,true);
?>
  </div>
</div>   
     <?
} else {

it's a small thing, but the lack of closing </div> tags creates a problem with the html which can create a problem with the display, depending on the template.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9975
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Minor error in the orders list template
« Reply #1 on: May 06, 2015, 15:05:58 pm »
confirmed, thx
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/