Index: imagecache.module =================================================================== RCS file: /cvs/drupal/contributions/modules/imagecache/imagecache.module,v retrieving revision 1.92 diff -u -8 -p -r1.92 imagecache.module --- imagecache.module 31 Oct 2008 17:52:14 -0000 1.92 +++ imagecache.module 18 Nov 2008 09:19:04 -0000 @@ -395,17 +395,17 @@ function _imagecache_cache($presetname, header("HTTP/1.0 500 Internal Server Error"); exit; } function _imagecache_apply_action($action, &$image) { $actions = imagecache_action_definitions(); if ($definition = imagecache_action_definition($action['action'])) { - return call_user_func($action['action'] .'_image', $image, $action['data']); + return call_user_func_array($action['action'] .'_image', array(&$image, $action['data'])); } // skip undefined actions.. module probably got uninstalled or disabled. watchdog('imagecache', 'non-existant action %action', array('%action' => $action['action']), WATCHDOG_NOTICE); return true; } /** * helper function to transfer files from imagecache. Determines mime type and sets a last modified header.