+2 fix bugs

mobile-first
LMR 5 years ago
parent e6720fbdeb
commit 9cd2036c01

@ -158,15 +158,15 @@ class Logs_model extends CI_Model {
function list_backup_meta($is_id, $meta_code) { function list_backup_meta($is_id, $meta_code) {
$this->init(); $this->init();
$this->top_num = 50; $this->top_num = 50;
$this->log_res_id = $this->HT->escape($is_id); $this->log_res_id = " AND il.log_res_id =" . $this->HT->escape($is_id);
$this->log_action = 'backup_meta_'.$meta_code; $this->log_action = " AND il.log_action = 'backup_meta_'.$meta_code";
return $this->get_list(); return $this->get_list();
} }
//制定读取信息meta内容,lmr - 2020/03/23 //制定读取信息meta内容,lmr - 2020/03/23
function pick_backup_meta($log_id) { function pick_backup_meta($log_id) {
$this->init(); $this->init();
$this->top_num = 1; $this->top_num = 1;
$this->log_id = $this->HT->escape($log_id); $this->log_id = " AND il.log_id =" . $this->HT->escape($log_id);
return $this->get_list(); return $this->get_list();
} }

Loading…
Cancel
Save