From cead2e37b1549783ab2241085ada9a48aff04ee4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Sep 2005 19:46:05 +0000 Subject: - Patch #26033 by m4avrck: fixed PHP5 warnings (call by reference) --- modules/user/user.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/user/user.module') 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.')); -- cgit v1.2.3