Skip to content

Conversation

@YannikFirre
Copy link
Contributor

Description

Fix when setComplexValue is not found in the template.


$where = $this->findContainingXmlBlockForMacro($search, 'w:r');

if($where === false) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix missing space after if (see travis check)

Copy link
Contributor Author

@YannikFirre YannikFirre Dec 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@troosan It's done :)

@troosan troosan added the Status: Waiting for feedback Question has been asked, waiting for response from PR author label Dec 29, 2020
@troosan troosan changed the title FIX - When setComplexValue is not found Add null check when setComplexValue is not found Dec 29, 2020
@troosan troosan added this to the v0.18.0 milestone Dec 31, 2020
@troosan troosan merged commit 8922632 into PHPOffice:develop Feb 5, 2021
@troosan troosan added Template Processor and removed Status: Waiting for feedback Question has been asked, waiting for response from PR author labels Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants