diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-15 15:01:55 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-15 15:01:55 -0700 |
commit | fa50ab2a947219bbf9ef5069c8c40d6c7b02406f (patch) | |
tree | 4e93855da472a8dcdab387e354c4b69863602617 /lib/statusnet.php | |
parent | 1a2170914e44e6fda66078895556f1ebb99d1cf5 (diff) |
fix notice on non-https views
Diffstat (limited to 'lib/statusnet.php')
-rw-r--r-- | lib/statusnet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/statusnet.php b/lib/statusnet.php index 6cabd3842..d94d856c9 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']); } } |