From 3a3660764c6e48f443fdcbe66db126fd7efbfa80 Mon Sep 17 00:00:00 2001
From: zhouxudong
Date: Thu, 24 Mar 2022 15:15:12 +0800
Subject: [PATCH] * Fix bug.
---
module/execution/view/all.html.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/module/execution/view/all.html.php b/module/execution/view/all.html.php
index abee5700a6..39ad793f27 100644
--- a/module/execution/view/all.html.php
+++ b/module/execution/view/all.html.php
@@ -57,7 +57,7 @@
createLink('programplan', 'create', "projectID=$projectID&productID=$productID"), " " . $lang->programplan->create, '', "class='btn btn-info'");?>
- createLink('execution', 'create', "projectID=$projectID"), " " . ((($from == 'execution') and ($config->systemMode == 'new')) ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='execution'");?>
+ createLink('execution', 'create', "projectID=$projectID"), " " . (($from == 'execution' and $config->systemMode == 'new') ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='execution'");?>
@@ -77,9 +77,9 @@
idAB);?>
- systemMode == 'new')) ? $lang->execution->execName : $lang->execution->name);?> |
+ systemMode == 'new') ? $lang->execution->execName : $lang->execution->name);?> |
- systemMode == 'new')) ? $lang->execution->execCode : $lang->execution->code);?> |
+ systemMode == 'new') ? $lang->execution->execCode : $lang->execution->code);?> |
systemMode == 'new' and $this->app->tab == 'execution'):?>
execution->projectName);?> |