Forum


Replies: 0   Views: 3484
Bug in removetemplatevariable
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 rolandawemo  · 20-10-2014 - 11:38

There seems to be a bug in the removeTemplate method. Calling the method with the second parameter $type = "inline" results in a notice: Undefined index: parseLineBreaks [APP/Lib/phpdocx/classes/AutoLoader.inc(62) : eval()'d code, line 1281] The method functions as expected when it is called with the param $type="block". I am using the test version. Regards, Roland A.