diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-08 19:46:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-08 19:46:05 +0000 |
commit | cead2e37b1549783ab2241085ada9a48aff04ee4 (patch) | |
tree | e90ef57386012ed828b7613ba789434f53cfc9f6 /modules/user/user.module | |
parent | f3cb254cb7a7a8598db2b413b7a9a10e8febe87d (diff) | |
download | brdo-cead2e37b1549783ab2241085ada9a48aff04ee4.tar.gz brdo-cead2e37b1549783ab2241085ada9a48aff04ee4.tar.bz2 |
- Patch #26033 by m4avrck: fixed PHP5 warnings (call by reference)
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 6a39def8f..1637928d4 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1373,7 +1373,8 @@ function user_configure_settings() { // If picture support is enabled, check whether the picture directory exists: if (variable_get('user_pictures', 0)) { - file_check_directory(file_create_path(variable_get('user_picture_path', 'pictures')), 1, 'user_picture_path'); + $picture_path = file_create_path(variable_get('user_picture_path', 'pictures')); + file_check_directory($picture_path, 1, 'user_picture_path'); } $group = form_radios(t('Picture support'), 'user_pictures', variable_get('user_pictures', 0), array(t('Disabled'), t('Enabled')), t('Enable picture support.')); |