From b913fbb993406e25ea9dc15c3d85091978d89c40 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Tue, 19 Oct 2021 18:45:01 +0800 Subject: [PATCH] * Fix location. --- module/api/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/api/control.php b/module/api/control.php index 1a61841878..2596f1afe7 100755 --- a/module/api/control.php +++ b/module/api/control.php @@ -268,7 +268,7 @@ class api extends control if(dao::isError()) return $this->sendError(dao::getError()); $actionID = $this->action->create('apistruct', $structID, 'Edited'); $this->action->logHistory($actionID, $changes); - return $this->sendSuccess(array('locate' => helper::createLink('api', 'editStruct', "libID={$struct->lib}&structID=$structID"))); + return $this->sendSuccess(array('locate' => helper::createLink('api', 'struct', "libID={$struct->lib}"))); } $options = array();