]> 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:01:55 +0000 (15:01 -0700)
lib/statusnet.php

index 6cabd3842e09f0da20c54e115a08c0f258d54154..d94d856c9a01f7a9a67e321c11b3a0f9f43bd29c 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']);
     }
 }