* Change judgment condition.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user