[ticket/12482] Fixed undefined variable: data.

PHPBB3-12482
Merge pull request #2389 from prototech/ticket/12482

[ticket/12482] Fixed undefined variable: data.

* prototech/ticket/12482:
  [ticket/12482] Fixed undefined variable: data.
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12482] Fixed undefined variable: data.