backporting branchcode save, forgotten during head => 2.2 backport
This commit is contained in:
parent
09199d3bce
commit
caed61806b
|
|
@ -163,8 +163,8 @@ if ($op eq 'add_form') {
|
|||
my $sth=$dbh->prepare("delete from aqbookfund where bookfundid =?");
|
||||
$sth->execute($bookfundid);
|
||||
$sth->finish;
|
||||
my $sth=$dbh->prepare("replace aqbookfund (bookfundid,bookfundname) values (?,?)");
|
||||
$sth->execute($input->param('bookfundid'),$input->param('bookfundname'));
|
||||
my $sth=$dbh->prepare("replace aqbookfund (bookfundid,bookfundname,branchcode) values (?,?,?)");
|
||||
$sth->execute($input->param('bookfundid'),$input->param('bookfundname'),$input->param('branchcode'));
|
||||
$sth->finish;
|
||||
print "Content-Type: text/html\n\n<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=aqbookfund.pl\"></html>";
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Reference in New Issue