Here’s an ugly footnote to Wednesday’s terror attack in Tel Aviv: The two gunmen now automatically qualify for monthly salaries from the Palestinian Authority.

That right is enshrined in Article 22.2 of the PA constitution, the Basic Law of Palestine.

The terrorists opened fire at a popular open-air market, killing four innocents and wounding five others. It was the latest of some 300 attacks these last nine months, which include stabbings, bombings, motor-vehicle assaults and other mayhem. The slaughter’s claimed 30 Israeli lives (including some Arab ones), and two Americans.

And all the surviving attackers collect PA checks, as do the families of what the PA calls the “martyrs” who die during their assaults. One UN-funded PA charity even did a tree-planting ceremony to honor some of the terrorists.

As the nonprofit Palestinian Media Watch points out, the PA’s official news outlets are terming the latest atrocity “the Tel Aviv Operation,” while the Facebook page of the ruling Fatah party blames Israel for inspiring the attacks.

What a great “partner for peace” the Palestinian Authority is.