]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/statusnet.php
fix notice on non-https views
[quix0rs-gnu-social.git] / lib / statusnet.php
index 301994508de630401b1645f010a6e91bfc77dc92..33bf32b10e2a59f962cb06a72312f49054ff4a66 100644 (file)
@@ -377,7 +377,7 @@ class StatusNet
     static function isHTTPS()
     {
         // There are some exceptions to this; add them here!
-        return $_SERVER['HTTPS'];
+        return !empty($_SERVER['HTTPS']);
     }
 }