[ticket/12249] Fix "Undefined variable: row" when editing profile

PHPBB3-12249