diff --git a/plugins/ktcore/KTDocumentActions.php b/plugins/ktcore/KTDocumentActions.php
index 1e66f94..57c015a 100644
--- a/plugins/ktcore/KTDocumentActions.php
+++ b/plugins/ktcore/KTDocumentActions.php
@@ -1341,7 +1341,7 @@ class KTDocumentWorkflowAction extends KTDocumentAction {
$oUser =& User::get($_SESSION['userID']);
$aTransitions = KTWorkflowUtil::getTransitionsForDocumentUser($oDocument, $oUser);
- $aWorkflows = KTWorkflow::getList('start_state_id IS NOT NULL');
+ $aWorkflows = KTWorkflow::getList('start_state_id IS NOT NULL AND enabled = 1 ');
$bHasPerm = false;
if (KTPermissionUtil::userHasPermissionOnItem($oUser, 'ktcore.permissions.workflow', $oDocument)) {
diff --git a/plugins/ktcore/admin/workflowsv2.php b/plugins/ktcore/admin/workflowsv2.php
index c6ff9f4..baadd60 100644
--- a/plugins/ktcore/admin/workflowsv2.php
+++ b/plugins/ktcore/admin/workflowsv2.php
@@ -130,12 +130,12 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher {
}
$this->HAVE_GRAPHVIZ = false;
- $dotCommand = KTUtil::findCommand("ui/dot", 'dot');
+/* $dotCommand = KTUtil::findCommand("ui/dot", 'dot');
if (!empty($dotCommand)) {
$this->HAVE_GRAPHVIZ = true;
$this->dotCommand = $dotCommand;
}
-
+*/
}
function do_main() {
diff --git a/templates/ktcore/workflow/admin/view.smarty b/templates/ktcore/workflow/admin/view.smarty
index 9523ef0..3ff337b 100644
--- a/templates/ktcore/workflow/admin/view.smarty
+++ b/templates/ktcore/workflow/admin/view.smarty
@@ -13,5 +13,5 @@ about states, transitions, security and notifications as they apply to this work
{* *}
{else}
-