Skip to content
Snippets Groups Projects
Commit a765e882 authored by Angie Byron's avatar Angie Byron
Browse files

#320127 by matt2000: Fix bug with file_check_directory() being passed a function by-reference.

parent 145e1ced
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -719,7 +719,8 @@ function setUp() {
// Use temporary files directory with the same prefix as database.
$this->original_file_directory = file_directory_path();
variable_set('file_directory_path', file_directory_path() . '/' . $db_prefix);
file_check_directory(file_directory_path(), TRUE); // Create the files directory.
$directory = file_directory_path();
file_check_directory($directory, TRUE); // Create the files directory.
}
/**
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment