From 05da5d0b4f14e45b0f19165483f4d2014dcdcaca Mon Sep 17 00:00:00 2001 From: im-mi Date: Sun, 25 Sep 2016 15:25:12 -0400 Subject: [PATCH] Use Image->get_image_link() on ICO files --- ext/handle_ico/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/handle_ico/theme.php b/ext/handle_ico/theme.php index aa092709..9f68cc53 100644 --- a/ext/handle_ico/theme.php +++ b/ext/handle_ico/theme.php @@ -2,7 +2,7 @@ class IcoFileHandlerTheme extends Themelet { public function display_image(Page $page, Image $image) { - $ilink = make_link("get_ico/{$image->id}/{$image->id}.ico"); + $ilink = $image->get_image_link(); $html = " ";