[ticket/11520] SQL query tabbing/wrapping

PHPBB3-11520