From e0cb6d6f7fdda97cb6ed262f79706392e315c055 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 15 Oct 2010 15:01:55 -0700 Subject: [PATCH] fix notice on non-https views --- lib/statusnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); } } -- 2.39.5