no transcode for reporting
This commit is contained in:
parent
7149af7df9
commit
c4ae68fb47
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class TranscodeImage extends Extension
|
|||
{
|
||||
global $user, $config;
|
||||
|
||||
if ($user->can(Permissions::EDIT_FILES)) {
|
||||
if ($user->can(Permissions::EDIT_FILES) && $event->context != "report") {
|
||||
$engine = $config->get_string(TranscodeConfig::ENGINE);
|
||||
if ($this->can_convert_mime($engine, $event->image->get_mime())) {
|
||||
$options = $this->get_supported_output_mimes($engine, $event->image->get_mime());
|
||||
|
|
Reference in a new issue