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=edf8990aa99a8d8df4334e271f4033e887d0a276;p=quix0rs-gnu-social.git fix notice on non-https views --- diff --git a/lib/statusnet.php b/lib/statusnet.php index 301994508d..33bf32b10e 100644 --- a/lib/statusnet.php +++ b/lib/statusnet.php @@ -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']); } }