Minor fixes.

This commit is contained in:
wolfpac444 2003-04-04 22:39:45 +00:00
parent d5cf2dfbb1
commit d35645d3c0
2 changed files with 3 additions and 2 deletions

View file

@ -170,6 +170,7 @@ if ($op eq 'add_form') {
################## DELETE_CONFIRMED ##################################
# called by delete_confirm, used to effectively confirm deletion of data in DB
} elsif ($op eq 'delete_confirmed') {
$template->param(delete_confirmed => 1);
my $dbh = C4::Context->dbh;
my $categorycode=uc($input->param('categorycode'));
my $query = "delete from categories where categorycode='$categorycode'";

View file

@ -214,7 +214,7 @@
</tr>
<tr>
<td>Issue limit</td>
<td><TMPL_VAR NAME=isssuelimit></td>
<td><TMPL_VAR NAME=issuelimit></td>
</tr>
<tr>
<td>Reserve fee</td>
@ -237,7 +237,7 @@
</tr>
<tr>
<td><INPUT type=submit value='YES'></form></td>
<td><form action='<TMPL_VAR NAME=script_name>' method=post><input type=submit value==NO></form></td>
<td><form action='<TMPL_VAR NAME=script_name>' method=post><input type=submit value=NO></form></td>
</tr>
</TMPL_IF>