From a1cc88cadeaca8ee1b372a85ab6d82d7d0379dcb Mon Sep 17 00:00:00 2001 From: Daku Date: Tue, 31 Jan 2012 13:30:57 +0000 Subject: [PATCH] this should fix custom image links --- core/imageboard.pack.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 48ba8065..033a1bfe 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -251,11 +251,11 @@ class Image { */ public function get_image_link() { global $config; - + $image_ilink = $config->get_string('image_ilink'); // store a copy for speed. - + if( !empty($image_ilink) ) { /* empty is faster than strlen */ - return $this->parse_link_template($image_ilink); + return $this->parse_link_template(make_link($image_ilink)); } else if($config->get_bool('nice_urls', false)) { return $this->parse_link_template(make_link('_images/$hash/$id - $tags.$ext'));