X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fglobal.asa;h=00c6852fb3d8da45cb996065fc5f95f20beae0a3;hb=a08b4d18bc28e44fe236f1060632ffefc773f78b;hp=d6e0bbea2c59cd3f2ba36e9a166b8f69f9298fcf;hpb=6ef34dda51afba96d8dc6c4dd72427c3d4003945;p=freeside.git diff --git a/htetc/global.asa b/htetc/global.asa index d6e0bbea2..00c6852fb 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -18,7 +18,7 @@ sub Script_OnStart { sub Script_OnFlush { my $ref = $Response->{BinaryRef}; $$ref = $cgi->header( '-expires' => 'now' ) . $$ref; -# if ( dbh->can('sprintProfile') ) { + if ( dbh->can('sprintProfile') ) { $$ref =~ s/<\/BODY>[\s\n]*<\/HTML>[\s\n]*$//i or warn "can't remove"; @@ -28,5 +28,5 @@ sub Script_OnFlush { $$ref .= ''; dbh->{'private_profile'} = {}; -# } + } }