diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 014e6d84..e3b2b50e 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -519,8 +519,9 @@ class Info_amp extends CI_Controller { $json = $this->input->get_post('json'); $icid = $this->input->get_post('icid'); + $action = $this->input->get_post('action') ? '_' . $this->input->get_post('action') : ''; if ($json && $icid) { - $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY'); + $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY' . $action); echo json_encode(array( "succ" => true, "info" => $this->Logs_model->pick_backup_meta($code)