From: Paul Poulain <[email protected]>
* deal with granular perms
* deal with uncertain prices
---
acqui/newordersuggestion.pl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl
index e56e521..33d68d0 100755
--- a/acqui/newordersuggestion.pl
+++ b/acqui/newordersuggestion.pl
@@ -106,6 +106,7 @@ my $publishercode = $input->param('publishercode');
my $op = $input->param('op');
my $suggestionid = $input->param('suggestionid');
my $duplicateNumber = $input->param('duplicateNumber');
+my $uncertainprice = $input->param('uncertainprice');
$op = 'else' unless $op;
@@ -116,7 +117,7 @@ my ( $template, $borrowernumber, $cookie ) =
get_template_and_user(
type => "intranet",
query => $input,
authnotrequired => 1,
- flagsrequired => { acquisition => 1 },
+ flagsrequired => { acquisition => 'order_manage' },
}
);
--
1.6.0.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches