Bug 9393 [QA Followup] - Don't display link if librarian cannot view the modification

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2016-04-19 11:55:28 +00:00
parent 23f4568641
commit b46f4128ea
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ No patron matched <span class="ex">[% message %]</span>
[% IF ( modifications ) %]
<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
[% IF ( CAN_user_borrowers ) %]
[% IF CAN_user_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
<a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
[% END %]
</li>