Commit d6d71252 authored by Dries's avatar Dries

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

parent 010d7294
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment