- Patch #322781 by Damien Tournoud: incorrect call to file_check_directory.

merge-requests/26/head
Dries Buytaert 2008-10-19 21:19:02 +00:00
parent 010d7294a4
commit d6d7125272
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ function user_admin_settings() {
// If picture support is enabled, check whether the picture directory exists:
if (variable_get('user_pictures', 0)) {
$picture_path = file_create_path(variable_get('user_picture_path', 'pictures'));
file_check_directory($picture_path, 1, 'user_picture_path');
file_check_directory($picture_path, FILE_CREATE_DIRECTORY, 'user_picture_path');
}
$form['pictures'] = array(