diff --git a/web/app/models/UOJProblemDataSynchronizer.php b/web/app/models/UOJProblemDataSynchronizer.php index 4ca346e..7a4dbdb 100644 --- a/web/app/models/UOJProblemDataSynchronizer.php +++ b/web/app/models/UOJProblemDataSynchronizer.php @@ -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(); }