* Change judgment condition.

This commit is contained in:
Yagami
2023-05-04 18:57:45 +08:00
parent c4c20cae54
commit 5935f603f4
29 changed files with 84 additions and 84 deletions
+3 -3
View File
@@ -155,12 +155,12 @@ class my extends control
$qaCount = 0;
$meetingCount = 0;
$ticketCount = 0;
$isMax = $this->config->edition == 'max' ? 1 : 0;
$isMax = ($this->config->edition == 'max' or $this->config->edition == 'ipd') ? 1 : 0;
$feedbackCount = 0;
$isBiz = $this->config->edition == 'biz' ? 1 : 0;
if($isBiz or $isMax)
if($this->config->edition != 'open')
{
$feedbacks = $this->loadModel('feedback')->getList('assigntome', 'id_desc', $pager);
$feedbackCount = $pager->recTotal;
@@ -980,7 +980,7 @@ EOF;
}
$this->view->flows = array();
if($this->config->edition== 'max' or $this->config->edition == 'ipd')
if($this->config->edition == 'max' or $this->config->edition == 'ipd')
{
$this->app->loadLang('approval');
$this->view->flows = $this->dao->select('module,name')->from(TABLE_WORKFLOW)->where('buildin')->eq(0)->fetchPairs('module', 'name');