[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Http Response.pm
Brought to you by:
sits
|
From: <si...@us...> - 2006-02-16 09:00:43
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=8099278&action=view User: sits Date: 06/02/16 01:00:26 Modified: lib/Codestriker/Http Response.pm Log: Protect undefined codestriker_css reference Index: Response.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Http/Response.pm,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- Response.pm 5 Oct 2005 07:56:10 -0000 1.35 +++ Response.pm 16 Feb 2006 09:00:02 -0000 1.36 @@ -213,7 +213,8 @@ # Generate the URL to the codestriker CSS file. my $codestriker_css; - if ($Codestriker::codestriker_css ne "") { + if (defined $Codestriker::codestriker_css && + $Codestriker::codestriker_css ne "") { $codestriker_css = $Codestriker::codestriker_css; } else { $codestriker_css = $query->url(); |