Fix code bug.

This commit is contained in:
lichengjun
2021-07-16 10:08:19 +08:00
parent 9fea485339
commit fcf6f3149a
+1
View File
@@ -638,6 +638,7 @@ class repoModel extends model
{
$commitID = $this->dao->lastInsertID();
if($branch) $this->dao->replace(TABLE_REPOBRANCH)->set('repo')->eq($repoID)->set('revision')->eq($commitID)->set('branch')->eq($branch)->exec();
$file = array();
foreach($logs['files'][$i] as $file)
{
$parentPath = dirname($file->path);