Both are fine - the only difference being one of style: 'were' is here somewhat more formal than 'was'. But they're not both subjunctive. 'Was' is a tense form, 'were' is a mood form, so only your first example is in the subjunctive mood.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
DonnieDarkoWhy did they put the word "subjunctive" in brackets at the end of the first two sentences?Hi Donnie:
AlpheccaStarsThe writers are showing "was" because the formal subjunctive verb inflections have been gradually disappearing from usage, and you will hear and see this variation quite frequently.Thanks AlpheccaStars, that seems indeed plausible.