diff --git a/modules/AOW_WorkFlow/aow_utils.php b/modules/AOW_WorkFlow/aow_utils.php
index a380b340885..903e3d59eee 100755
--- a/modules/AOW_WorkFlow/aow_utils.php
+++ b/modules/AOW_WorkFlow/aow_utils.php
@@ -471,7 +471,13 @@ function getModuleField(
}
// hack to disable one of the js calls in this control
if (isset($vardef['function']) && ($vardef['function'] == 'getCurrencyDropDown' || $vardef['function']['name'] == 'getCurrencyDropDown')) {
- $contents .= "{literal}{/literal}";
+ $excludeCases = [
+ $_REQUEST['action'] === 'DownloadPDF' || $_REQUEST['action'] === 'Export',
+ ];
+
+ if (!in_array(true, $excludeCases, true)) {
+ $contents .= "{literal}{/literal}";
+ }
}
// Save it to the cache file