This commit is contained in:
holan20180123
2021-05-19 09:38:23 +08:00
parent 9371c94362
commit e58771d42a
+1 -1
View File
@@ -133,7 +133,7 @@ class doc extends control
if($objectType == 'execution' and $this->post->execution) $objectID = $this->post->execution;
if($objectType == 'custom' or $objectType == 'book') $objectID = 0;
if($objectType == 'execution' and $this->config->systemMode == 'new')
if($objectType == 'execution' and $this->config->systemMode == 'new' and $this->app->openApp == 'doc')
{
$execution = $this->execution->getByID($this->post->execution);
$objectType = 'project';