diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 131b8e34..c94105c7 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -516,9 +516,10 @@ class Info_amp extends CI_Controller $json = $this->input->get_post('json'); $icid = $this->input->get_post('icid'); if ($json && $icid) { + $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY'); echo json_encode(array( "succ" => true, - "info" => $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY') + "info" => $this->Logs_model->pick_backup_meta($code) )); } else { echo json_encode(array(