Avoid php warning, fixes #6629 Closes #6629 See merge request ispconfig/ispconfig3!1841
mentioned in commit a139dde6