@ -242,7 +242,7 @@ class Info_amp extends CI_Controller
if (!empty($rs)) {
$newrs = array();
foreach ($rs as $info) {
if (!empty($info->ic_content)) {
if (!empty($info->ic_content) && !empty($info->ic_url)) {
array_push($newrs, array(
'ic_url' => $info->ic_url,
'ic_id' => $info->ic_id,
@ -63,6 +63,7 @@ class InfoMetas_model extends CI_Model {
. " ic.ic_status, \n"
. " ic.ic_template, \n"
. " ic.ic_sitecode, \n"
. " ic.ic_content, \n"
. " im.im_id \n"
. " FROM infoStructures is1 \n"
. " INNER JOIN infoContents ic ON ic.ic_id = is1.is_ic_id \n"