Tears turn to joy as Erindale College year 12 school formal crisis averted