-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Issue found when using latest build on PHP7. Reference to #927
Found a empty string in:
PHPOffice\PHPWord\Writer\Word2007\Part\Settings
getSettings():109
private function getSettings()
{
.......
'w:compat' => ' ',
........
}
Updated to
private function getSettings()
{
.......
'w:compat' => array('@attributes' => array('w:val' => '')),
........
}
And it seems to be working. Not sure if this is supposed to be used in the same way though, but this has allowed me to export and generate word docs.
Can anyone who knows more check and see if this is in fact a issue they are experiencing as well, otherwise, is this fix a valid fix for the problem?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
retnek, karinegomes, mikebronner, FBnil, jbebe and 3 more
Metadata
Metadata
Assignees
Labels
No labels