[feature/revisions] Fix syntax error

PHPBB3-10755