Use the singular form of the verb when two or more subjects are connected by or--with the following exceptions: (1) when all the subjects are plural; (2) when the subject nearest the verb is plural.
Source: Grammar for Smart People, by Barry Tarshis.