mdl-27120 Fix static cache for backup_xml_transformer::register_link_encoders()
This commit is contained in:
committed by
Rajesh Taneja
parent
67bf69416e
commit
16bf868513
@@ -55,7 +55,7 @@ class backup_xml_transformer extends xml_contenttransformer {
|
||||
$this->unicoderegexp = @preg_match('/\pL/u', 'a'); // This will fail silently, returning false,
|
||||
// if regexp libraries don't support unicode
|
||||
// Register all the available content link encoders
|
||||
if (!empty($LINKS_ENCODERS_CACHE)) {
|
||||
if (empty($LINKS_ENCODERS_CACHE)) {
|
||||
$LINKS_ENCODERS_CACHE = $this->register_link_encoders();
|
||||
}
|
||||
$this->absolute_links_encoders = $LINKS_ENCODERS_CACHE;
|
||||
|
||||
Reference in New Issue
Block a user