fix notice on non-https views

This commit is contained in:
Brion Vibber 2010-10-15 15:01:55 -07:00
parent 671712f0f6
commit edf8990aa9
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}
}