Skip to content

Commit

Permalink
Merge branch 'refs/heads/fix-amp'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswelton committed Mar 2, 2014
2 parents 02b4bc3 + f801bb7 commit d80ee59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ public function buildGravatarURL($email, $hash_email = true)
}

// Stuff the request params into the param_cache property for later reuse
$this->params_cache = (!empty($params)) ? '?' . implode('&', $params) : '';
$this->params_cache = (!empty($params)) ? '?' . implode('&', $params) : '';
}

// Handle "null" gravatar requests.
$tail = '';
if(empty($email))
{
$tail = !empty($this->params_cache) ? '&f=y' : '?f=y';
$tail = !empty($this->params_cache) ? '&f=y' : '?f=y';
}

// And we're done.
Expand Down

0 comments on commit d80ee59

Please sign in to comment.