From e9dbec72f882ddf4bb30cd7bcdf3cc543b791085 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 27 Mar 2018 07:53:53 +0800 Subject: [PATCH] MDL-61801 core_privacy: Correct bug in unit test provider --- privacy/classes/tests/request/content_writer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/privacy/classes/tests/request/content_writer.php b/privacy/classes/tests/request/content_writer.php index 59edba70722..cc9e4f93843 100644 --- a/privacy/classes/tests/request/content_writer.php +++ b/privacy/classes/tests/request/content_writer.php @@ -409,7 +409,7 @@ class content_writer implements \core_privacy\local\request\content_writer { ]; } - $this->customfiles[$this->context->id] = array_replace_recursive($this->customfiles[$this->context->id], $finalcontent); + $this->files[$this->context->id] = array_replace_recursive($this->files[$this->context->id], $finalcontent); } return $this;