summaryrefslogtreecommitdiff
path: root/FS/FS/reason.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-02-11 02:03:51 +0000
committerivan <ivan>2008-02-11 02:03:51 +0000
commit7add8407312ec79831adafc06caa01c0fa60f76e (patch)
tree85d61a34aa4d17e7f425592e4f5566bea27df3a9 /FS/FS/reason.pm
parent4a6d050ac37bdc474e78da2d6b9e845cf9794834 (diff)
better debugging if things go awry
Diffstat (limited to 'FS/FS/reason.pm')
-rw-r--r--FS/FS/reason.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/reason.pm b/FS/FS/reason.pm
index 3c925d4..5ce1848 100644
--- a/FS/FS/reason.pm
+++ b/FS/FS/reason.pm
@@ -153,7 +153,7 @@ sub _upgrade_data { # class method
foreach (@sql) {
my $sth = $dbh->prepare($_) or die $dbh->errstr;
- $sth->execute or die $dbh->errstr;
+ $sth->execute or die $sth->errstr;
}
}
}