diff --git a/modules/system.module b/modules/system.module index 1a7bf9d95ae..a8c8c3f5e99 100644 --- a/modules/system.module +++ b/modules/system.module @@ -327,7 +327,7 @@ function system_view_general() { $directory_temp = variable_get('file_directory_temp', FILE_DIRECTORY_TEMP); file_check_directory($directory_temp, FILE_CREATE_DIRECTORY, 'file_directory_temp'); - $form['files']['file_directory_tmp'] = array( + $form['files']['file_directory_temp'] = array( '#type' => 'textfield', '#title' => t('Temporary directory'), '#default_value' => $directory_temp, '#maxlength' => 255, '#valid' => 'directory', '#description' => t('Location where uploaded files will be kept during previews. Relative paths will be resolved relative to the file system path.') ); diff --git a/modules/system/system.module b/modules/system/system.module index 1a7bf9d95ae..a8c8c3f5e99 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -327,7 +327,7 @@ function system_view_general() { $directory_temp = variable_get('file_directory_temp', FILE_DIRECTORY_TEMP); file_check_directory($directory_temp, FILE_CREATE_DIRECTORY, 'file_directory_temp'); - $form['files']['file_directory_tmp'] = array( + $form['files']['file_directory_temp'] = array( '#type' => 'textfield', '#title' => t('Temporary directory'), '#default_value' => $directory_temp, '#maxlength' => 255, '#valid' => 'directory', '#description' => t('Location where uploaded files will be kept during previews. Relative paths will be resolved relative to the file system path.') );