* fix bug meeting

This commit is contained in:
lanzongjun
2022-09-23 17:25:45 +08:00
parent a478be994f
commit 905a71ddf7
12 changed files with 39 additions and 12 deletions
+2 -1
View File
@@ -240,7 +240,8 @@ class install extends control
if($this->post->importDemoData) $this->install->importDemoData();
if($this->config->systemMode == 'lean')
$defaultProgram = $this->loadModel('setting')->getItem('owner=system&module=common&section=global&key=defaultProgram');
if($this->config->systemMode == 'lean' and empty($defaultProgram))
{
/* Lean mode create default program. */
$programID = $this->loadModel('program')->createDefaultProgram();