Skip to content

Commit

Permalink
Protocol agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
linc committed Apr 1, 2012
1 parent a772e8f commit 4469c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/plugins/glue/glue.php
Expand Up @@ -166,7 +166,7 @@ function glue_get_photo($data) {

// Get photo URL
$PhotoUrl = GetValue('InsertPhoto', $data); // @todo Get PATH_UPLOADS / prefix
if ($PhotoUrl && !strstr($PhotoUrl, 'http://'))
if ($PhotoUrl && !strstr($PhotoUrl, 'http'))
$PhotoUrl = '/uploads/'.ChangeBasename($PhotoUrl, 'n%s');
if (!GetValue('InsertPhoto', $data)) {
// Use Gravatar + Vanillicon
Expand Down

0 comments on commit 4469c23

Please sign in to comment.