Deacitvating PM sending of locked accounts -> empty Email

Hi. When I go to the Security and deactivate the PM sending when an account has been locked I only get empty emails with "no subject" as subject. If I activate the setting that a PM should be sent too the emails have the correct content. There seems to be an error somewhere in the script.
Greetings
Thorsten
Greetings
Thorsten