We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26866
    • 6 Posts
    I think, it’s not necessarity show clearerTpl after last row. So I offer add follow check:


    	if($counter == $mg->mgconfig['pics_per_row'] [color=red]&& $i != $limit-1[/color]) {
    		$outerTplData['pictures'] .= $tpl->getTemplate($mg->mgconfig['clearerTpl']);
    		$counter = 0;
    	}