login/login pages and cookie/session-based auth
[freeside.git] / httemplate / autohandler
index c326e3e..b5b1071 100644 (file)
@@ -46,5 +46,5 @@ if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
 
 </%filter>
 <%cleanup>
-   dbh->commit();
+   dbh->commit() if dbh;
 </%cleanup>