From: <Wil...@nt...> - 2005-02-07 21:03:19
|
Author: WillNorris Date: 2005-02-07 13:01:17 -0800 (Mon, 07 Feb 2005) New Revision: 3598 Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm Log: BugReport: warnings of using undefined in apache error_logs (apparently TWiki::cfg{} isn't defined in this context) code changes just note the problem, passing responsibility for code fixes to ... ?? (cdot?) Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-02-06 03:15:16 UTC (rev 3597) +++ twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-02-07 21:01:17 UTC (rev 3598) @@ -1116,6 +1116,8 @@ $text =~ s/\&[a-z]+;/ /g; # remove entities $text =~ s/%WEB%/$web/g; $text =~ s/%TOPIC%/$topic/g; + # FIXME : this _is_ happening and giving errors/warnings + warn "FIXME : no WikiToolName?" unless $TWiki::cfg{WikiToolName}; $text =~ s/%WIKITOOLNAME%/$TWiki::cfg{WikiToolName}/g; if( $opts =~ /nohead/ ) { # skip headings on top |