Merge pull request #11502 from mikeroq/fixes/eula_download_if_app_locale_is_not_en
Fixes #11496 - Wrong URL generated for download of asset acceptance PDF if locale was not en
This commit is contained in:
commit
5f5ff04636
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class ActionlogsTransformer
|
||||||
|
|
||||||
$file_url = '';
|
$file_url = '';
|
||||||
if($actionlog->filename!='') {
|
if($actionlog->filename!='') {
|
||||||
if ($actionlog->present()->actionType() == 'accepted') {
|
if ($actionlog->action_type == 'accepted') {
|
||||||
$file_url = route('log.storedeula.download', ['filename' => $actionlog->filename]);
|
$file_url = route('log.storedeula.download', ['filename' => $actionlog->filename]);
|
||||||
} else {
|
} else {
|
||||||
if ($actionlog->itemType() == 'asset') {
|
if ($actionlog->itemType() == 'asset') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue