[ticket/11763] Add missing variable when reporting a PM to avoid SQL Error

PHPBB3-11763
Merge remote-tracking branch 'Elsensee/ticket/11763' into develop

* Elsensee/ticket/11763:
  [ticket/11763] Add missing variable when reporting a PM to avoid SQL Error