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=e0cb6d6f7fdda97cb6ed262f79706392e315c055;p=quix0rs-gnu-social.git fix notice on non-https views --- diff --git a/lib/statusnet.php b/lib/statusnet.php index 3d018f4e21..2e2359c287 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']); } }