summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-15 15:01:55 -0700
committerBrion Vibber <brion@pobox.com>2010-10-18 11:12:26 -0700
commitedf8990aa99a8d8df4334e271f4033e887d0a276 (patch)
tree1531b4befe8e5dbb839dab32c30634afdef367fe
parent671712f0f617298dbf686df5707f232af8e053e2 (diff)
fix notice on non-https views
-rw-r--r--lib/statusnet.php2
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']);
}
}