[ticket/11201] Fix some variable names

PHPBB3-11201