Hardcoded email, whoops.
This commit is contained in:
parent
4819b2c1a2
commit
d671cfa977
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@ class API_Gravatar extends API_Common
|
||||||
*/
|
*/
|
||||||
public static function img($email, $size = 80, $default = 'gravatar', $rating = 'g', $force = false, $secure = false, $attributes = false)
|
public static function img($email, $size = 80, $default = 'gravatar', $rating = 'g', $force = false, $secure = false, $attributes = false)
|
||||||
{
|
{
|
||||||
$email = 'joshsherman@gmail.com';
|
|
||||||
if (!filter_var($email, FILTER_VALIDATE_EMAIL))
|
if (!filter_var($email, FILTER_VALIDATE_EMAIL))
|
||||||
{
|
{
|
||||||
throw new Exception('Invalid email address.');
|
throw new Exception('Invalid email address.');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue