Fix formatting
This commit is contained in:
parent
f7242e1250
commit
26e479422a
|
|
@ -610,8 +610,8 @@ class TemplateProcessor
|
|||
// replace on each iteration, because in one tag we can have 2+ inline variables => before proceed next variable we need to change $partContent
|
||||
$partContent = $this->setValueForPart($wholeTag, $replaceXml, $partContent, $limit);
|
||||
}
|
||||
$i++;
|
||||
if($i >= $limit) {
|
||||
|
||||
if (++$i >= $limit) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue