diff options
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc index 24248ad84..38c4999ff 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -1100,7 +1100,7 @@ function file_validate_size($file, $file_limit = 0, $user_limit = 0) { * * @see hook_file_validate() */ -function file_validate_is_image(&$file) { +function file_validate_is_image($file) { $errors = array(); $info = image_get_info($file->filepath); @@ -1135,7 +1135,7 @@ function file_validate_is_image(&$file) { * * @see hook_file_validate() */ -function file_validate_image_resolution(&$file, $maximum_dimensions = 0, $minimum_dimensions = 0) { +function file_validate_image_resolution($file, $maximum_dimensions = 0, $minimum_dimensions = 0) { $errors = array(); // Check first that the file is an image. |