Fix commands for table repeats

This commit is contained in:
Nathan Gray 2011-02-28 19:16:58 +00:00
parent 591bc464c1
commit 830fcad2f6

View File

@ -408,8 +408,8 @@ abstract class bo_merge
{ {
for($n = 0; ($row_replacements = $this->$callback($plugin,$id,$n,$repeat)); ++$n) for($n = 0; ($row_replacements = $this->$callback($plugin,$id,$n,$repeat)); ++$n)
{ {
$repeat = $this->process_commands($repeat, $row_replacements); $_repeat = $this->process_commands($repeat, $row_replacements);
$repeats .= $this->replace($repeat,$row_replacements,$mimetype,$mso_application_progid); $repeats .= $this->replace($_repeat,$row_replacements,$mimetype,$mso_application_progid);
} }
} }
$content = str_replace($match[0],$repeats,$content); $content = str_replace($match[0],$repeats,$content);