From 8cb95ceb98b8dc1ed18b1217793d12659cdee26b Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 25 Oct 2011 16:17:44 +0100 Subject: [PATCH] also allow https sources --- ext/view/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/view/theme.php b/ext/view/theme.php index b9cb5cf8..59f6b730 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -94,7 +94,7 @@ class ViewImageTheme extends Themelet { $html .= " ($h_ip)"; } if(!is_null($image->source)) { - if(substr($image->source, 0, 7) == "http://") { + if(substr($image->source, 0, 7) == "http://" || substr($image->source, 0, 8) == "https://") { $html .= " (source)"; } else {