[ticket/12388] Add tests for lang() use on log actions without data

PHPBB3-12388