News:

Looking for documentation? Take a look on our wiki

Main Menu

Minor error in the orders list template

Started by sealion, May 06, 2015, 15:01:57 PM

Previous topic - Next topic

sealion

There is a small  error in components/com_virtuemart/views/orders/tmpl/list.php

where you have

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


it should be

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

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/