Parliament passed an amendment on Wednesday to the country’s election laws, saying that if one candidate withdraws from a repeat presidential election, the other one would automatically win.

The amendment was heavily criticized by the opposition, whose legislators boycotted the vote. Opposition leader Raila Odinga withdrew from a repeat presidential vote scheduled for Oct. 26 on Tuesday, citing concerns over fairness and transparency. The law must now be signed by the president after the Senate gives its consent.

The president has already said he will not hesitate to sign it into law and sources say he may do so by Friday.