A Martim Fernandes own goal gave Forest a first-leg draw in Portugal, after William Gomes had given the 2003 winners the lead.