mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Some type check fixes
This commit is contained in:
parent
d4707eb595
commit
bd4b8d8944
6 changed files with 6 additions and 5 deletions
|
@ -65,7 +65,6 @@ try{
|
|||
curl_setopt($handle, CURLOPT_CUSTOMREQUEST, "POST");
|
||||
curl_setopt($handle, CURLOPT_POSTFIELDS, '{"Suppressions": [{"EmailAddress": "' . $email . '"}]}');
|
||||
curl_exec($handle);
|
||||
curl_close($handle);
|
||||
}
|
||||
elseif($post->RecordType == 'SubscriptionChange' && $post->SuppressionReason === null){
|
||||
$log->Write('Event type: suppression deletion.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue