The standard Hebrew text adds “while Jehoshaphat was still king of Judah.” That is, according to the Hebrew, father and son ruled Judah together for a time.