$sth->execute($authtypecode);
my ($authtypeexist) = $sth->fetchrow;
if ($authtypeexist) {
+ $op||="else";
} else {
# if authtype does not exists, then OP must be changed to "create authtype" if we are not on the way to create it
# (op = authtyp_create_confirm)
<td><!-- TMPL_VAR NAME="authtypetext" --></td>
<td><!-- TMPL_VAR NAME="summary" --></td>
<td><!-- TMPL_VAR NAME="auth_tag_to_report" --></td>
- <td><a href="auth_tag_structure.pl?authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->&op=else" class="button parameters" >MARC structure</a></td>
+ <td><a href="auth_tag_structure.pl?authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->" class="button parameters" >MARC structure</a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&authtypecode=<!-- TMPL_VAR NAME="authtypecode" escape="HTML" -->">Edit</a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=delete_confirm&authtypecode=<!-- TMPL_VAR NAME="authtypecode" escape="HTML" -->">Delete</a></td>
</tr>