phpbb/phpbb3 — pull request #499 by imkingdavid (2011-12-14 23:19:37+00:00)
Title: [ticket/10463] fixed malformed SQL in acp_styles.php

The query had a comma before the variable. However, the variable, depending on the conditional just above the query, would either add a comma and another column, or add nothing. So in either case it would throw an SQL syntax error because there would either be two commas or it would end the row list with a comma.

The fix was simply to remove the comma and the space between the previous row name and the variable.