[ticket/12718] Use a separate variable for sql query

PHPBB3-12718