requested to merge artfulrobot/stripe:artfulrobot-fix-email-post-hook into master
If you modify an entity in CiviCRM then the DAO/BAO passed into the
post hook only contains the edits; not the full record.
$objectRef->contact_id may be null.
This gives a type error when it's passed into
stripe_civicrm_shutdown_updatestripecustomer() which expects an
This means that sites with this extension installed will crash if any such update is made.
This PR fixes this.