Skip to content

Commit

Permalink
Fix for checkout button showing regardless of perms
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahil Jallad authored and theory committed Nov 2, 2010
1 parent 9e4a1af commit 5fbe52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comp/widgets/desk/desk_item.html
Expand Up @@ -63,7 +63,7 @@ <h4>Check in:</h4>
</ul>
</div>
</li>
% } elsif (!$user && $action eq 'checkout_cb') {
% } elsif (!$user && $can_edit && $action eq 'checkout_cb') {
<li>
% my $checkout_uri = $r->uri . '?' . "$widget|checkout_cb=$class\_$id";
<a href="<% $checkout_uri %>" name="check_out"><img src="/media/images/checkout.gif" title="Check out" />Check out</a>
Expand Down

0 comments on commit 5fbe52e

Please sign in to comment.