bug fix
This commit is contained in:
parent
3656213c0c
commit
968681dcaa
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ sub get_version($record, $versions) {
|
|||
}
|
||||
|
||||
sub insert_gpg_key ($fingerprint, $keyid, $version, $flags, $armored, $blob) {
|
||||
my $test = $pg->db->select('gpg_key', ['id'], {fingerprint => $fingerprint})->hash->{id};
|
||||
my $test = $pg->db->select('gpg_key', ['id'], {fingerprint => $fingerprint});
|
||||
if ($test) {
|
||||
$pg->db->delete('gpg_key', {fingerprint => $fingerprint});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue