From: Brion Vibber Date: Fri, 15 Oct 2010 22:01:55 +0000 (-0700) Subject: fix notice on non-https views X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa50ab2a947219bbf9ef5069c8c40d6c7b02406f;p=quix0rs-gnu-social.git fix notice on non-https views --- diff --git a/lib/statusnet.php b/lib/statusnet.php index 6cabd3842e..d94d856c9a 100644 --- a/lib/statusnet.php +++ b/lib/statusnet.php @@ -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']); } }