X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fautohandler;h=248f14a24211bd65cb765ce7abe8c341532aa6e9;hp=c326e3e183bed097c02394a8dbde145700ceea4d;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924 diff --git a/httemplate/autohandler b/httemplate/autohandler index c326e3e18..248f14a24 100644 --- a/httemplate/autohandler +++ b/httemplate/autohandler @@ -41,10 +41,10 @@ if ( UNIVERSAL::can(dbh, 'sprintProfile') ) { dbh->{'private_profile'} = {}; - s/(<\/BODY>[\s\n]*<\/HTML>[\s\n]*)$/$profile$1/i; + s/(<\/BODY>[\s\n]*<\/HTML>[\s\n]*)/$profile$1/i; } <%cleanup> - dbh->commit(); + dbh->commit() if dbh;