diff --git a/lib/Alchemy/Phrasea/Application/Overview.php b/lib/Alchemy/Phrasea/Application/Overview.php index ea2d561569..731e27a4d7 100644 --- a/lib/Alchemy/Phrasea/Application/Overview.php +++ b/lib/Alchemy/Phrasea/Application/Overview.php @@ -38,7 +38,7 @@ return call_user_func( if ($watermark === true && $file->get_type() === \media_subdef::TYPE_IMAGE) { $pathOut = \recordutils_image::watermark($file); } elseif ($stamp === true && $file->get_type() === \media_subdef::TYPE_IMAGE) { - $pathOut = \recordutils_image::stamp($record->get_base_id(), $record->get_record_id()); + $pathOut = \recordutils_image::stamp($file); } $log_id = null;