From: Brion Vibber Date: Sat, 5 Feb 2005 07:14:25 +0000 (+0000) Subject: * Fix notice error on nonexistent template in wikitext system message X-Git-Tag: 1.5.0alpha1~782 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=cbce2981cafa900ca4b3b7ccfd040d55dbd958df;p=lhc%2Fweb%2Fwiklou.git * Fix notice error on nonexistent template in wikitext system message --- diff --git a/includes/Parser.php b/includes/Parser.php index b5ef19f584..dbc770f703 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2084,7 +2084,9 @@ class Parser } # Template cache array insertion - $this->mTemplates[$part1] = $text; + if( $found ) { + $this->mTemplates[$part1] = $text; + } } }