* finish task #2893,2894.
This commit is contained in:
@@ -1215,8 +1215,7 @@ class upgradeModel extends model
|
||||
}
|
||||
|
||||
$newPaths = join(',', $newPaths);
|
||||
$newPaths = ",$newPaths,";
|
||||
$this->dao->update(TABLE_MODULE)->set('path')->eq($newPaths)->where('id')->eq($newModuleID)->exec();
|
||||
$this->dao->update(TABLE_MODULE)->set('path')->eq($newPaths)->set('parent')->eq($relation[$module->parent])->where('id')->eq($newModuleID)->exec();
|
||||
$this->dao->update(TABLE_DOC)->set('module')->eq($newModuleID)->where('product')->eq($productID)->andWhere('module')->eq($moduleID)->andWhere('lib')->eq('product')->exec();
|
||||
}
|
||||
$this->dao->update(TABLE_DOC)->set('lib')->eq($libID)->where('product')->eq($productID)->exec();
|
||||
|
||||
Reference in New Issue
Block a user