Forum


Replies: 3   Views: 3250
Using 'linebreaks' with mergedocx() triggers a var_dump()
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by darren77  · 12-02-2013 - 17:17

I do not know why, but if I use the parameter "lineBreaks" when merging two documents, the second one being a HTML table, I get the HTML dumped on screen.

removing that parameter fixes it

Thanks

Posted by admin  · 11-04-2013 - 12:13

Hello,

Sorry, we have fixed that var_dump in dev version. Please edit DocxUtilities.inc and remove line 2456.

Regards.

Posted by darren77  · 11-04-2013 - 12:13

Cheers

anyway I do not get anything at line 2456

I have this on line 4911:

var_dump($firstDocx['section'][$firstNumSections]->saveXML());

I commented it out