Skip to content

Commit

Permalink
Merge pull request #367 from ladybirdweb/analysis-XpJ3lZ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
bhanu2217 authored Jun 22, 2018
2 parents d8c1859 + cc76821 commit 1d2519f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Common/MailChimpController.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function addSubscriber($email)

return $result;
} catch (Exception $ex) {
$exe = json_decode($ex->getMessage(), true);
$exe = json_decode($ex->getMessage(), true);
if ($exe['status'] == 400) {
throw new Exception("$email is already subscribed to newsletter", 400);
}
Expand Down

0 comments on commit 1d2519f

Please sign in to comment.