dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7030f69
)
* Fix notice error on nonexistent template in wikitext system message
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Feb 2005 07:14:25 +0000
(07:14 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Feb 2005 07:14:25 +0000
(07:14 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
b5ef19f
..
dbc770f
100644
(file)
--- 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;
+ }
}
}