* Fix feedback#1451.
This commit is contained in:
@@ -587,7 +587,7 @@ class api extends control
|
||||
|
||||
if($changes)
|
||||
{
|
||||
$actionID = $this->action->create('api', $apiID, 'edited');
|
||||
$actionID = $this->action->create('api', $apiID, 'edited', '', '', '', false);
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
}
|
||||
|
||||
@@ -630,7 +630,7 @@ class api extends control
|
||||
$api = $this->api->create();
|
||||
if($api === false) return $this->sendError(dao::getError());
|
||||
|
||||
$this->action->create('api', $api->id, 'Created');
|
||||
$this->action->create('api', $api->id, 'Created', '', '', '', false);
|
||||
|
||||
if(isonlybody()) return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => 'true', 'callback' => "parentLocate({$api->id}, {$api->lib}, {$api->module})"));
|
||||
return $this->sendSuccess(array('locate' => helper::createLink('api', 'index', "libID={$api->lib}&moduleID={$api->module}&apiID={$api->id}")));
|
||||
|
||||
Reference in New Issue
Block a user