Bug 17292 Follow-up, fix typos
- wrong assignation - reference to 'serials' table rather than 'serial' Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
1c35b86c2e
commit
8ff0d2fe58
|
|
@ -11471,13 +11471,12 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
|||
|
||||
my $sth2 = $dbh->prepare("SELECT * FROM subscription_numberpatterns WHERE id = ?");
|
||||
|
||||
my $sth3 = $dbh->prepare("UPDATE serials SET serialseq_x = ?, serialseq_y = ?, serialseq_z = ? WHERE serialid = ?");
|
||||
my $sth3 = $dbh->prepare("UPDATE serial SET serialseq_x = ?, serialseq_y = ?, serialseq_z = ? WHERE serialid = ?");
|
||||
|
||||
foreach my $subscription ( $sth->fetchrow_hashref() ) {
|
||||
next if !defined($subscription);
|
||||
my $number_pattern = $subscription->numberpattern();
|
||||
$sth2->execute( $subscription->{numberpattern} );
|
||||
$number_pattern = $sth2->fetchrow_hashref();
|
||||
my $number_pattern = $sth2->fetchrow_hashref();
|
||||
|
||||
my $numbering_method = $number_pattern->{numberingmethod};
|
||||
# Get all the data between the enumeration values, we need
|
||||
|
|
|
|||
Loading…
Reference in New Issue