fix php message

fixes https://github.com/owncloud/core/issues/12075

@VicDeo @PVince81 

@karlitschek @craigpg backport please