From 6b4fe3354a905755f9e6f1810cf94bbc269ce81d Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 10 Jun 2011 02:04:10 +0000 Subject: [PATCH] fix popup bgcolor --- httemplate/elements/header-popup.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index d009f6b04..d94f7eb48 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -55,7 +55,7 @@ if ( ref($_[0]) ) { $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. $head = @_ ? shift : ''; #$head is for things that go in the section } -$etc .= 'BGCOLOR="#f8f8f8"' if (! $etc =~ /BGCOLOR/i ); +$etc .= ' BGCOLOR="#f8f8f8"' unless $etc =~ /BGCOLOR/i; my $conf = new FS::Conf; -- 2.11.0