CRM-14411 - Fix PHP notice caused by static calls to non-static methods.

Fix PHP notice caused by static calls to non-static methods. See comments on issue for how to reproduce.