Forum


Replies: 8   Views: 3630
Zero in wordfragment
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 admin  · 02-03-2016 - 15:18

Hello,

The solution is very easy but we needed to know your license to suggest the line to be changed.

As you're using a PRO license, please edit the classes/CreateText.inc file and replace this (around line 444):

if (empty($texts['text'])) {
  $texts['text'] = '';
}

by:

if (!isset($texts['text'])) {
  $texts['text'] = '';
}

This change solves your issue.

Regards.