diff --git a/module/company/view/dynamic.html.php b/module/company/view/dynamic.html.php index a96ecd15c00..c9e949c9ef1 100644 --- a/module/company/view/dynamic.html.php +++ b/module/company/view/dynamic.html.php @@ -64,7 +64,7 @@ objectType == 'meeting') $openApp = $action->project ? "data-app='project'" : "data-app='my'";?> maxVersion) and strpos($config->action->assetType, $action->objectType) !== false and empty($action->objectName)) + if((isset($config->maxVersion) and strpos($config->action->assetType, $action->objectType) !== false) or empty($action->objectName)) { echo '#' . $action->objectID; } diff --git a/module/execution/view/dynamic.html.php b/module/execution/view/dynamic.html.php index 488962a9be1..b7f7185db39 100755 --- a/module/execution/view/dynamic.html.php +++ b/module/execution/view/dynamic.html.php @@ -87,7 +87,7 @@ actionLabel;?> objectLabel;?> objectID;?> - objectLink, $action->objectName);?> + objectName) echo html::a($action->objectLink, $action->objectName);?> diff --git a/module/my/view/dynamic.html.php b/module/my/view/dynamic.html.php index bec16a86e17..e375481f11b 100644 --- a/module/my/view/dynamic.html.php +++ b/module/my/view/dynamic.html.php @@ -60,7 +60,7 @@ objectType == 'meeting') $openApp = $action->project ? "data-app='project'" : "data-app='my'";?> maxVersion) and strpos($config->action->assetType, $action->objectType) !== false and empty($action->objectName)) + if((isset($config->maxVersion) and strpos($config->action->assetType, $action->objectType) !== false) or empty($action->objectName)) { echo '#' . $action->objectID; } diff --git a/module/product/view/dynamic.html.php b/module/product/view/dynamic.html.php index 15cfa32eb3a..22a202c1152 100755 --- a/module/product/view/dynamic.html.php +++ b/module/product/view/dynamic.html.php @@ -86,7 +86,7 @@ actionLabel;?> objectLabel;?> objectID;?> - objectLink, $action->objectName);?> + objectName) echo html::a($action->objectLink, $action->objectName);?> diff --git a/module/project/view/dynamic.html.php b/module/project/view/dynamic.html.php index 1c99f2b2c1f..11e7b048d5c 100755 --- a/module/project/view/dynamic.html.php +++ b/module/project/view/dynamic.html.php @@ -87,7 +87,7 @@ actionLabel;?> objectLabel;?> objectID;?> - objectLink, $action->objectName);?> + objectName) echo html::a($action->objectLink, $action->objectName);?> diff --git a/module/user/view/dynamic.html.php b/module/user/view/dynamic.html.php index 2b15182dd33..e84f294dcbe 100644 --- a/module/user/view/dynamic.html.php +++ b/module/user/view/dynamic.html.php @@ -55,7 +55,7 @@ actionLabel;?> objectLabel;?> objectID;?> - objectLink, $action->objectName);?> + objectName) echo html::a($action->objectLink, $action->objectName);?>