* Fix bug for compatible php8.0 .

This commit is contained in:
hufangzhou
2021-12-28 14:46:10 +08:00
parent df07ada2b3
commit 1a5adfe15f
10 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -182,7 +182,8 @@ body {margin-bottom: 25px;}
<?php if($this->app->getViewType() == 'xhtml'):?>
<div id="xx-title">
<strong>
<?php echo ($this->project->getById($execution->project)->name . ' / ' . $this->execution->getByID($execution->id)->name) ?>
<?php $projectName = $this->config->systemMode == 'new' ? $this->project->getById($execution->project)->name . ' / ' : '';?>
<?php echo ($projectName . $this->execution->getByID($execution->id)->name);?>
</strong>
<div class="linkButton" onclick="handleLinkButtonClick()">
<span title="<?php echo $lang->viewDetails;?>">