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-15 15:03:54 -0700
commite0cb6d6f7fdda97cb6ed262f79706392e315c055 (patch)
tree0c9f7bf0ec8ef79948bf5048d3081d14c8e49df7
parenta7d98435f649da268f728825e64eb673c451e242 (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 3d018f4e2..2e2359c28 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']);
}
}