LP#1681095: fix TT syntax error
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 7 Aug 2017 18:35:38 +0000 (14:35 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 7 Aug 2017 18:35:38 +0000 (14:35 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/kpac/record.tt2

index 393bb1c..878c806 100644 (file)
@@ -11,7 +11,7 @@
 
     <div class="item_detail_image">
         [%  ident = attrs.isbn_clean || attrs.upc; 
-            href = ctx.media_prefix _ '/images/kpac/item_image.jpg[% ctx.cache_key %]';
+            href = ctx.media_prefix _ '/images/kpac/item_image.jpg' _ ctx.cache_key;
             IF ident; href = ctx.media_prefix _ '/opac/extras/ac/jacket/medium/' _ ident; END %]
          <a href="[% href | url %]"><img 
             alt="[% l('Image of item') %]" width="167" src='[% href | url %]' /></a><br />