]> 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>
Fri, 15 Oct 2010 22:03:54 +0000 (15:03 -0700)
lib/statusnet.php

index 3d018f4e211b54e0f0ebc00d236fbefcf04df55d..2e2359c287f07a8fd8ec1e1977e9be250a10b8d5 100644 (file)
@@ -396,7 +396,7 @@ class StatusNet
     static function isHTTPS()
     {
         // There are some exceptions to this; add them here!
-        return $_SERVER['HTTPS'];
+        return !empty($_SERVER['HTTPS']);
     }
 }