fix: UOJProblemDataSynchronizer::_updateProblemConf()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-03-13 22:01:55 +08:00
parent a9e80e7c3b
commit 180484383b
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -215,8 +215,7 @@ class UOJProblemDataSynchronizer {
try {
putUOJConf("{$this->upload_dir}/problem.conf", $new_problem_conf);
$this->_sync();
return '';
return $this->_sync();
} catch (Exception $e) {
return $e->getMessage();
}