use Memoize because Memcache::Memoize is slow for me
[koha.git] / acqui / newordersuggestion.pl
index ba966b6..b65e4ea 100755 (executable)
@@ -93,7 +93,7 @@ use CGI;
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::Suggestions;
-use C4::Bookseller;
+use C4::Bookseller qw/ GetBookSellerFromId /;
 use C4::Biblio;
 
 my $input = new CGI;
@@ -133,7 +133,7 @@ my $suggestions_loop =
                 author                 => $author, 
                 title                  => $title, 
                 publishercode  => $publishercode,
-                status             => 'ACCEPTED'});
+                STATUS        => 'ACCEPTED'});
 my $vendor = GetBookSellerFromId($supplierid);
 $template->param(
     suggestions_loop        => $suggestions_loop,