summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-04-21 20:47:30 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-04-21 20:47:30 +0000
commit45aa7f61acf1e31ddd735edbfcf05cafcc9b6410 (patch)
tree88f2dca16cd5be2ece03501a59233e40ab1b8a77
parent7f8770793797e1150af0e488288c1a157b02dab5 (diff)
downloadbrdo-45aa7f61acf1e31ddd735edbfcf05cafcc9b6410.tar.gz
brdo-45aa7f61acf1e31ddd735edbfcf05cafcc9b6410.tar.bz2
#136250: The upload directory might exist, but is not writable. Fix error message. Investigated with Moshe Weitzman and Gerhard Killesreiter.
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index e0a2e9b39..71689297a 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -331,7 +331,7 @@ function user_validate_picture($file, &$edit, $user) {
$form_values['picture'] = $file->filepath;
}
else {
- form_set_error('picture_upload', t("Failed to upload the picture image; the %directory directory doesn't exist.", array('%directory' => variable_get('user_picture_path', 'pictures'))));
+ form_set_error('picture_upload', t("Failed to upload the picture image; the %directory directory doesn't exist or is not writable.", array('%directory' => variable_get('user_picture_path', 'pictures'))));
}
}
}