[ticket/12964] Correct use of undefined $row variable.

PHPBB3-12964