[Koha-patches] [PATCH] Bug 6157: Permissions restricting editing of report
Colin Campbell
colin.campbell at ptfs-europe.com
Mon Apr 11 18:33:18 CEST 2011
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
More information about the Koha-patches
mailing list