Permissions were incorrectly converted as local to the loop
---
.../en/modules/reports/guided_reports_start.tt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index 68e65e9..31fd512 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -171,13 +171,13 @@ canned reports and writing custom SQL reports.</p>
</td>
<td>
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[%
savedreport.id %]&phase=Show%20SQL">Show</a>
- [% IF ( savedreport.CAN_user_reports_create_reports ) %]
+ [% IF ( CAN_user_reports_create_reports ) %]
<a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[%
savedreport.id %]&phase=Edit%20SQL">Edit</a>
[% END %]
</td>
<td><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id
%]&phase=Run%20this%20report">Run</a>
<a href="/cgi-bin/koha/tools/scheduler.pl?id=[% savedreport.id
%]">Schedule</a></td>
- [% IF ( savedreport.CAN_user_reports_create_reports ) %]
+ [% IF ( CAN_user_reports_create_reports ) %]
<td><a class="confirmdelete" title="Delete this saved report"
href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id
%]&phase=Delete%20Saved">Delete</a></td>
[% END %]
</tr>
--
1.7.4.2
_______________________________________________
Koha-patches mailing list
[email protected]
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/