strict warning fixes CRM-14944

----------------------------------------
* CRM-14944: function should not be called statically - pledge page
  https://issues.civicrm.org/jira/browse/CRM-14944
Merge pull request #3611 from kurund/CRM-14944

strict warning fixes CRM-14944