summaryrefslogtreecommitdiff
path: root/lib/statusnet.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/statusnet.php')
-rw-r--r--lib/statusnet.php2
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']);
}
}