diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 03:46:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 03:46:08 +0000 |
commit | a765e882ebf89969e81335a6df4fddb23d27095f (patch) | |
tree | a045cfa17be3420441bc8e283376a5441b9e92d9 /modules | |
parent | 145e1ced25627632255a0891bb8130d4c2ef6491 (diff) | |
download | brdo-a765e882ebf89969e81335a6df4fddb23d27095f.tar.gz brdo-a765e882ebf89969e81335a6df4fddb23d27095f.tar.bz2 |
#320127 by matt2000: Fix bug with file_check_directory() being passed a function by-reference.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 332cbcc7c..2198dde22 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -719,7 +719,8 @@ class DrupalWebTestCase { // 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. } /** |