diff --git a/C4/Creators/Batch.pm b/C4/Creators/Batch.pm index 3f13917ed5..9b9a0f24a0 100644 --- a/C4/Creators/Batch.pm +++ b/C4/Creators/Batch.pm @@ -68,7 +68,7 @@ sub add_item { my $query = "INSERT INTO creator_batches (batch_id, description, $number_type, branch_code, creator) VALUES (?,?,?,?,?);"; my $sth = C4::Context->dbh->prepare($query); # $sth->{'TraceLevel'} = 3; - $sth->execute($self->{'batch_id'}, $number, $self->{'branch_code'}, $1); + $sth->execute($self->{'batch_id'}, $self->{'description'}, $number, $self->{'branch_code'}, $1); if ($sth->err) { warn sprintf('Database returned the following error on attempted INSERT: %s', $sth->errstr); return -1; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 1b7275795e..6bbb1839df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -60,7 +60,7 @@