- Removes space between IF and statement

This commit is contained in:
Vlad
2016-05-18 09:26:36 -04:00
parent bf1ab3a593
commit 31e082eb2b
22 changed files with 48 additions and 48 deletions

View File

@ -119,7 +119,7 @@ class MailChimp {
}
function getDataCenter($APIKey) {
if (!preg_match('/-[a-zA-Z0-9]{3,}/', $APIKey)) return false;
if(!preg_match('/-[a-zA-Z0-9]{3,}/', $APIKey)) return false;
// double parantheses: http://phpsadness.com/sad/51
$key_parts = explode('-', $APIKey);
return end($key_parts);