diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-15 15:01:55 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-18 11:12:26 -0700 |
commit | edf8990aa99a8d8df4334e271f4033e887d0a276 (patch) | |
tree | 1531b4befe8e5dbb839dab32c30634afdef367fe /lib/statusnet.php | |
parent | 671712f0f617298dbf686df5707f232af8e053e2 (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 301994508..33bf32b10 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']); } } |