CRM-15555 - Fix fatal error from protected vars (contactID and context).

----------------------------------------
* CRM-15555:
  https://issues.civicrm.org/jira/browse/CRM-15555