Replies: 2   Views: 3091
'0' in array
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 zstov  · 21-03-2011 - 07:32

I have a problem with the template.
In function replaceVariable in the file if it gets '0' there is a problem.
The code: if (
self::$_templateSymbol . $keys .
is fail when $entry->nodeValue is '0'.
I get the error: PHP Warning: strstr(): Empty delimiter