Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Protocol agnostic

  • Loading branch information...
commit 4469c2324b952583227d364ca2935ddd5dc4a6af 1 parent a772e8f
Lincoln Russell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-content/plugins/glue/glue.php
2  wp-content/plugins/glue/glue.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.