Merge branch 'master' of gitee.com:hainatravel/information-system

feature/pay
cyc 6 years ago
commit 62dca99ae9

@ -554,7 +554,7 @@ class Information extends CI_Controller
case 'ru':
case 'jp':
$information = $this->Information_model->Detail($url);
if ($delete_only || $information->ic_ht_area_type === 'q') {
if ($delete_only || !$information || $information->ic_ht_area_type === 'q') {
//只删除操作在url修改和不发布信息的时候使用
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/delete_only?static_html_url=' . $url;
} else {

Loading…
Cancel
Save