summaryrefslogtreecommitdiff
path: root/httemplate/autohandler
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/autohandler')
-rw-r--r--httemplate/autohandler2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/autohandler b/httemplate/autohandler
index c326e3e18..b5b1071c1 100644
--- a/httemplate/autohandler
+++ b/httemplate/autohandler
@@ -46,5 +46,5 @@ if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
</%filter>
<%cleanup>
- dbh->commit();
+ dbh->commit() if dbh;
</%cleanup>