A little notice bug fix:

diff -r sites/all/modules/imagecache/imagecache.module
--- a/sites/all/modules/imagecache/imagecache.module
+++ b/sites/all/modules/imagecache/imagecache.module
@@ -617,7 +617,9 @@ function imagecache_user($op, &$edit, &$
  * Remove derivative images after the originals are deleted by filefield.
  */
 function imagecache_file_delete($file) {
-  imagecache_image_flush($file->filepath);
+  if (isset($file->filepath)) {
+    imagecache_image_flush($file->filepath);
+  }
 }
 
 /**

Comments

fizk’s picture

Status: Active » Closed (fixed)

Committed. Thanks!