summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2012-02-05 09:01:17 -0500
committerDries <dries@buytaert.net>2012-02-05 09:01:17 -0500
commit855c0bf0a7bee3c8e4353e6b89ee853d5206f302 (patch)
tree2e3edbae8b5c2e769c20c7d43c8ef9f6cc28d8c5 /modules/image
parentcffbd988245017d0ca098dbcee5c5de831b0c6a1 (diff)
downloadbrdo-855c0bf0a7bee3c8e4353e6b89ee853d5206f302.tar.gz
brdo-855c0bf0a7bee3c8e4353e6b89ee853d5206f302.tar.bz2
- Patch #1159258 by Deciphered: fixed image_file_move() flushes new URI not source URI.
Diffstat (limited to 'modules/image')
-rw-r--r--modules/image/image.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/image/image.module b/modules/image/image.module
index 066bd34d8..35f1068fd 100644
--- a/modules/image/image.module
+++ b/modules/image/image.module
@@ -326,7 +326,7 @@ function image_file_download($uri) {
*/
function image_file_move($file, $source) {
// Delete any image derivatives at the original image path.
- image_path_flush($file->uri);
+ image_path_flush($source->uri);
}
/**