diff --git a/core/basethemelet.class.php b/core/basethemelet.class.php index 9666d2d8..09b123a8 100644 --- a/core/basethemelet.class.php +++ b/core/basethemelet.class.php @@ -40,7 +40,7 @@ class BaseThemelet { public function build_thumb_html(Image $image) { global $config; $i_id = (int) $image->id; - $h_view_link = make_link('post/view/'.$i_id, $query); + $h_view_link = make_link('post/view/'.$i_id); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); $h_tags = strtolower($image->get_tag_list()); diff --git a/themes/danbooru/themelet.class.php b/themes/danbooru/themelet.class.php index c74dece9..db9b4116 100644 --- a/themes/danbooru/themelet.class.php +++ b/themes/danbooru/themelet.class.php @@ -2,7 +2,7 @@ class Themelet extends BaseThemelet { public function build_thumb_html(Image $image) { global $config; - $h_view_link = make_link("post/view/{$image->id}", $query); + $h_view_link = make_link("post/view/{$image->id}"); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); $i_id = int_escape($image->id); diff --git a/themes/danbooru2/themelet.class.php b/themes/danbooru2/themelet.class.php index c74dece9..db9b4116 100644 --- a/themes/danbooru2/themelet.class.php +++ b/themes/danbooru2/themelet.class.php @@ -2,7 +2,7 @@ class Themelet extends BaseThemelet { public function build_thumb_html(Image $image) { global $config; - $h_view_link = make_link("post/view/{$image->id}", $query); + $h_view_link = make_link("post/view/{$image->id}"); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); $i_id = int_escape($image->id); diff --git a/themes/futaba/themelet.class.php b/themes/futaba/themelet.class.php index 35034e4e..5fc79d3c 100644 --- a/themes/futaba/themelet.class.php +++ b/themes/futaba/themelet.class.php @@ -6,7 +6,7 @@ class Themelet extends BaseThemelet { */ public function build_thumb_html(Image $image) { global $config; - $h_view_link = make_link("post/view/{$image->id}", $query); + $h_view_link = make_link("post/view/{$image->id}"); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); $i_id = int_escape($image->id); diff --git a/themes/lite/themelet.class.php b/themes/lite/themelet.class.php index 41a5ba5f..8788d9a2 100644 --- a/themes/lite/themelet.class.php +++ b/themes/lite/themelet.class.php @@ -7,7 +7,7 @@ class Themelet extends BaseThemelet { public function build_thumb_html(Image $image) { global $config; $i_id = (int) $image->id; - $h_view_link = make_link('post/view/'.$i_id, $query); + $h_view_link = make_link('post/view/'.$i_id); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); $h_tags = strtolower($image->get_tag_list());