* Fix bug.

This commit is contained in:
leiyong
2020-12-02 13:46:47 +08:00
parent 708254c54d
commit cb288cd833
+1 -1
View File
@@ -857,7 +857,7 @@ class doc extends control
$table = $type == 'product' ? TABLE_PRODUCT : TABLE_PROJECT;
$object = $this->dao->select('id,name,status')->from($table)->where('id')->eq($objectID)->fetch();
if(empty($object)) $this->locate($this->createLink($type, 'create'));
if(empty($object)) $this->locate($this->createLink($type, 'create', '', '', '', $this->session->PRJ));
if($from == 'product')
{