[Koha-patches] [PATCH] Bug 3317: Author displaying inconsistently or not at all in Cart.

Galen Charlton galen.charlton at liblime.com
Mon Jun 15 19:54:40 CEST 2009


Hi Garry,

On Sun, Jun 14, 2009 at 5:43 PM, Garry Collum<gcollum at gmail.com> wrote:
> This patch fixes the author and added author fields for the 'More Details' view of opac-basket.tmpl.

> +        <!-- TMPL_IF EXPR="MARCAUTHORS || author" -->

I will push this patch, but the above EXPR can result in pollution of
the Apache error log for the OPAC:

[Mon Jun 15 12:51:24 2009] [error] [client 98.70.55.162] EXPR:at pos
11: non-initialized variable MARCAUTHORS, referer:
http://example.edu/cgi-bin/koha/opac-search.pl?q=a
[Mon Jun 15 12:51:24 2009] [error] [client 98.70.55.162] EXPR:at pos
21: non-initialized variable author, referer:
http://example.edu/cgi-bin/koha/opac-search.pl?q=a

Please replace the TMPL_IF EXPR with a regular TMPL_IF NAME test; you
may need to introduce another template variable in opac-basket.pl.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list