Fix PHP notice generation when forum not found.