Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error - blanks out websites with some plugins #113

Closed
ghost opened this issue Mar 31, 2017 · 2 comments

Comments

@ghost
Copy link

commented Mar 31, 2017

file sparkpost/sparkpost.class.php
on line number 125
return array_slice(explode('@', $email), -1)[0] === 'sparkpostbox.com';

---change----

array_slice(explode('@', $email), -1);
return $ashishvar[0] === 'sparkpostbox.com';

@rajumsys

This comment has been minimized.

Copy link
Contributor

commented Mar 31, 2017

@ivrtree how your suggestion is different than that already exists?

What php version are you using?

@rajumsys

This comment has been minimized.

Copy link
Contributor

commented Apr 3, 2017

@ivrtree This should have been fixed in v3.0.1. Please check and thanks for reporting.

@rajumsys rajumsys closed this Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.