This commit is contained in:
wangyidong
2019-09-20 15:25:51 +08:00
parent 5fd54d028a
commit 8ebd5c0d64
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -1101,7 +1101,11 @@ class project extends control
$this->executeHooks($projectID);
$planID = reset($_POST['plans']);
$planID = '';
foreach($_POST['plans'] as $planID)
{
if(!empty($planID)) break;
}
if(!empty($planID))
{
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('create', "projectID=$projectID&copyProjectID=&planID=$planID&confirm=no")));