New York City has ended its legal fight with producer Jordan McGraw, the son of TV’s “Dr. Phil” McGraw. The settlement reached Friday clears the way for a reality show he’s making about the New York Police Department. The agreement says the city will retain editorial control over the show after accusing Jordan McGraw and his production company, McGraw Media, of trying to wrest it away. The show is hosted by “Dr. Phil” and titled “Behind the Badge." The agreement also says McGraw Media will provide cuts of episodes to the NYPD and will incorporate its edits. A message seeking comment was left for a lawyer for Jordan McGraw and McGraw Media.