bugfix on authtype modif

A parameter was missing to tell Koha it was a modif (UPDATE) and not an add (INSERT)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Paul POULAIN 2007-12-13 09:48:02 +01:00 committed by Joshua Ferraro
parent 3aacd4a074
commit 1c9dadfe3c

View file

@ -72,12 +72,16 @@ function Check(f) {
<!-- TMPL_IF NAME="add_form" -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
<fieldset class="rows"><!-- TMPL_IF NAME="authtypecode" -->
<fieldset class="rows">
<!-- TMPL_IF NAME="authtypecode" -->
<legend>Modify authority type</legend>
<!-- TMPL_ELSE -->
<legend>New authority type</legend>
<!-- /TMPL_IF -->
<ol>
<!-- TMPL_IF NAME="authtypecode" -->
<input type="hidden" name="modif" value="1" />
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authtypecode" -->
<li><label for="authtypecode">Authority type<label><input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="checked" value="0" /><input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" /><!-- TMPL_VAR NAME="authtypecode" --></li>