Avoid PHP warning
Merge pull request #1122 from FHenry/3.4

Avoid PHP warning