Introduced an annoying bug that duplicated everything in iteminfo and branch
dropdowns today. This fixes it.
This commit is contained in:
parent
bd84f88d1e
commit
ff26495d07
|
|
@ -502,7 +502,6 @@ sub getkeytableselectoptions {
|
|||
$sth->execute;
|
||||
while ( ($key, $desc) = $sth->fetchrow) {
|
||||
if ($showkey || ! $desc ) { $desc="$key - $desc"; }
|
||||
$selectclause.="<option value='$key'>$desc\n";
|
||||
$selectclause.="<option";
|
||||
if (defined $default && $default eq $key) {
|
||||
$selectclause.=" selected";
|
||||
|
|
|
|||
Loading…
Reference in New Issue