infofix fix

master
LMR 11 months ago
parent 4c7411cd5d
commit 5a1f579d0b

@ -193,7 +193,7 @@ class infofix extends CI_Controller
function get_by_icid($ic_id)
{
$ic = $this->infoContents_model->get_ic_contents2($ic_id);
$json = $this->infoMetas_model->get($ic_id, 'AMP_JSON');
$json = json_decode($this->infoMetas_model->get($ic_id, 'AMP_JSON'));
$use = $this->infoMetas_model->get($ic_id, 'AMP_BODY_PC_STATUS');
if ($ic) {
echo json_encode(
@ -201,7 +201,7 @@ class infofix extends CI_Controller
'state' => 0,
'ic_content' => $ic->ic_content,
'pc_use' => $use,
'json' => json_encode($json)
'json' => $json
)
);
} else {

Loading…
Cancel
Save