- Patch #322781 by Damien Tournoud: incorrect call to file_check_directory.
parent
010d7294a4
commit
d6d7125272
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue