Skip to content

Commit 75901a3

Browse files
committed
Fix missing db in sch call
1 parent d85e46c commit 75901a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

updatesigs.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if (my $sigtype = $db->sigtypeSearch($text))
2727
{
2828
printf("Updating signal type to %s for signal ID %s\n", $sigtype, $sig->id);
29-
my $sigtype_rs = $sch->resultset('Sigtype');
29+
my $sigtype_rs = $db->sch->resultset('Sigtype');
3030
my $type = $sigtype_rs->find($sigtype, { key => 'name' }) if $sigtype;
3131
$sig->update({ sigtype => $type->id });
3232
}

0 commit comments

Comments
 (0)