Avoid mixed content warnings by letting Libravatar detect HTTPS connection.
[phorkie.git] / src / phorkie / HtmlHelper.php
index d23468547bbb98ab3726d87eff807437e3ee39aa..7a991e415d96c70acecd1ed07fe276c3ccf2a4f2 100644 (file)
@@ -12,6 +12,7 @@ class HtmlHelper
         }
 
         $s = new \Services_Libravatar();
+        $s->detectHttps();
         return $s->url(
             $email,
             array(