]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix notice on non-https views
authorBrion Vibber <brion@pobox.com>
Fri, 15 Oct 2010 22:01:55 +0000 (15:01 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 18 Oct 2010 18:12:26 +0000 (11:12 -0700)
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']);
     }
 }