From edf8990aa99a8d8df4334e271f4033e887d0a276 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 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']); } } -- 2.39.5