T:T variable scope error. Also correcting T:T
variable error with row numbering.
---
 .../intranet-tmpl/prog/en/modules/tags/review.tt   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
index 8c53028..7cf3df6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
@@ -207,12 +207,12 @@ td input,td input[type="submit"] { font-size: 85%; 
padding: 1px; }
        </tr>
        [% FOREACH tagloo IN tagloop %]
        <tr>
-           <td class="count">[% offset + __counter__ %]
+           <td class="count">[% offset + loop.count %]
            </td>
            <td><span><input type="checkbox" value="[% tagloo.term %]" 
name="tags" [% IF ( approved == 0 ) %] class="pending"[% END %] /></span>
            </td>
-           [% IF ( approved == -1 ) %]<td class="red">rejected
-               [% ELSIF ( approved == 1 ) %]<td class="green"><img alt="OK" 
src="/intranet-tmpl/prog/img/approve.gif" />
+           [% IF ( tagloo.approved == -1 ) %]<td class="red">rejected
+               [% ELSIF ( tagloo.approved == 1 ) %]<td class="green"><img 
alt="OK" src="/intranet-tmpl/prog/img/approve.gif" />
                [% ELSE %]<td class="pending">
                [% END %]
            </td>
-- 
1.7.3

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to