[Koha-patches] [PATCH] Fix for Bug 6370 - news showing that it's for the opac when it's for the librarian interface

Owen Leonard oleonard at myacpl.org
Fri May 20 21:23:41 CEST 2011


T:T variable scope error.
---
 .../prog/en/modules/tools/koha-news.tt             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
index 19242ed..fbe4b4a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
@@ -172,10 +172,10 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
                             <td>
                                 <input type="checkbox" name="ids" value="[% opac_new.idnew %]" />
                             </td>
-                            <td>[% IF ( lang == 'koha' ) %]
+                            <td>[% IF ( opac_new.lang == 'koha' ) %]
 			            Librarian interface
                                  [% ELSE %]
-                                    [% IF ( lang == 'slip' ) %]
+                                    [% IF ( opac_new.lang == 'slip' ) %]
 				        Slip
                                     [% ELSE %]
                                         OPAC
-- 
1.7.3



More information about the Koha-patches mailing list