* Fix bug#11101.

This commit is contained in:
leiyong
2021-04-01 12:49:10 +03:00
parent 690d4aa32a
commit cb2f4c314d
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -233,8 +233,10 @@ class repoModel extends model
{
if(!$this->checkClient()) return false;
if(!$this->checkConnection()) return false;
$data = fixer::input('post')
->skipSpecial('path,client,account,password')
->setDefault('product', '')
->join('product', ',')
->get();
@@ -275,6 +277,7 @@ class repoModel extends model
$data = fixer::input('post')
->setDefault('client', 'svn')
->setDefault('prefix', $repo->prefix)
->setDefault('product', '')
->setIF($this->post->path != $repo->path, 'synced', 0)
->skipSpecial('path,client,account,password')
->join('product', ',')