瀏覽代碼

Procesy tree fix goto list - show only active proces

Piotr Labudda 10 年之前
父節點
當前提交
7164e8c177
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SE/se-lib/ProcesHelper.php

+ 1 - 0
SE/se-lib/ProcesHelper.php

@@ -404,6 +404,7 @@ class ProcesHelper {
 			$sql="select p.`ID`, p.`IF_TRUE_GOTO`, p.`IF_TRUE_GOTO_FLAG`
 				from `CRM_PROCES` as p
 				where p.`IF_TRUE_GOTO` > 0
+					and p.`A_STATUS`!='DELETED'
 			";
 			$res = $db->query($sql);
 			while ($r = $db->fetch($res)) {