* adjust code.

This commit is contained in:
wangyidong
2019-11-26 11:04:33 +08:00
parent 90122b67b9
commit fff27470c1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<?php
<?php
/**
* The control file of case currentModule of ZenTaoPMS.
*
+2
View File
@@ -3539,11 +3539,13 @@ class upgradeModel extends model
{
$this->saveLogs('Run Method ' . __FUNCTION__);
$conceptSetted = $this->dao->select('*')->from(TABLE_CONFIG)->where('owner')->eq('system')->andWhere('module')->eq('common')->andWhere('`key`')->eq('conceptSetted')->fetchAll();
if(empty($conceptSetted))
{
$setting = new stdclass();
$setting->owner = 'system';
$setting->module = 'custom';
$setting->key = 'storyRequirement';
$setting->value = '0';
$this->dao->replace(TABLE_CONFIG)->data($setting)->exec();