Commit edf8990a authored by Brion Vibber's avatar Brion Vibber

fix notice on non-https views

parent 671712f0
......@@ -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']);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment