fix notice on non-https views
This commit is contained in:
		@@ -396,7 +396,7 @@ class StatusNet
 | 
				
			|||||||
    static function isHTTPS()
 | 
					    static function isHTTPS()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // There are some exceptions to this; add them here!
 | 
					        // There are some exceptions to this; add them here!
 | 
				
			||||||
        return $_SERVER['HTTPS'];
 | 
					        return !empty($_SERVER['HTTPS']);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user