From 3a90b862fa5b7b8bbe0ad19be623d1daaaea2f9a Mon Sep 17 00:00:00 2001 From: Chad Parry Date: Sat, 30 Apr 2011 16:41:43 -0600 Subject: [PATCH] The signature of system::tempname changed. --- 3.0/modules/rawphoto/helpers/rawphoto_event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.0/modules/rawphoto/helpers/rawphoto_event.php b/3.0/modules/rawphoto/helpers/rawphoto_event.php index db0bf4e8..84429858 100644 --- a/3.0/modules/rawphoto/helpers/rawphoto_event.php +++ b/3.0/modules/rawphoto/helpers/rawphoto_event.php @@ -21,7 +21,7 @@ class rawphoto_event_Core { static function item_created($item) { if ($item->is_photo()) { $input_file = $item->file_path(); - $output_file = system::tempnam(TMPPATH, "rawphoto-", ".jpg"); + $output_file = system::temp_filename("rawphoto-", "jpg"); $success = rawphoto_graphics::convert($input_file, $output_file); if ($success) { $item->set_data_file($output_file);