summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 025c4fa2..5f7adb01 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1296,7 +1296,7 @@ sub print_button {
sub db_init {
my ($self, $myconfig) = @_;
- $self->{dbh} = $self->dbconnect_noauto($myconfig);
+ $self->{dbh} = $self->dbconnect_noauto($myconfig) || $self->dberror();
my $query =
"SELECT t.extends,