summaryrefslogtreecommitdiff
path: root/includes/cache/LinkBatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/cache/LinkBatch.php')
-rw-r--r--includes/cache/LinkBatch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/cache/LinkBatch.php b/includes/cache/LinkBatch.php
index 77e4d490..698b3046 100644
--- a/includes/cache/LinkBatch.php
+++ b/includes/cache/LinkBatch.php
@@ -78,7 +78,7 @@ class LinkBatch {
$this->data[$ns] = array();
}
- $this->data[$ns][str_replace( ' ', '_', $dbkey )] = 1;
+ $this->data[$ns][strtr( $dbkey, ' ', '_' )] = 1;
}
/**