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:
43d58f7
)
Commit ver of doReplace that *doesn't* cause infinite recursion and stack death
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 19 Jan 2008 06:26:39 +0000
(06:26 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 19 Jan 2008 06:26:39 +0000
(06:26 +0000)
includes/SiteConfiguration.php
patch
|
blob
|
history
diff --git
a/includes/SiteConfiguration.php
b/includes/SiteConfiguration.php
index
e124183
..
19a8e2b
100644
(file)
--- a/
includes/SiteConfiguration.php
+++ b/
includes/SiteConfiguration.php
@@
-48,7
+48,7
@@
class SiteConfiguration {
return str_replace( $from, $to, $in );
} elseif( is_array( $in ) ) {
foreach( $in as $key => $val ) {
- $in[$key] = $this->doReplace( $from, $to, $
in
);
+ $in[$key] = $this->doReplace( $from, $to, $
val
);
}
return $in;
} else {