[freeside-commits] freeside/httemplate autohandler,1.9,1.10

Ivan,,, ivan at wavetail.420.am
Sat Apr 23 17:33:39 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate
In directory wavetail.420.am:/tmp/cvs-serv23147/httemplate

Modified Files:
	autohandler 
Log Message:
utf-8, RT#12514

Index: autohandler
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/autohandler,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- autohandler	20 Feb 2009 02:22:15 -0000	1.9
+++ autohandler	24 Apr 2011 00:33:37 -0000	1.10
@@ -7,7 +7,7 @@
 my $profile = '';
 if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
 
-  if ( lc($r->content_type) eq 'text/html'
+  if ( lc($r->content_type) =~ /^text\/html/
        && $FS::CurrentUser::CurrentUser->option('show_db_profile')
      )
   {



More information about the freeside-commits mailing list