hotfix/paypal-note
LMR 2 years ago
parent 83926c229b
commit 10df82d125

@ -178,7 +178,7 @@ class Logs_model extends CI_Model
public function list_backup_meta($is_id, $meta_code)
{
$this->init();
$this->top_num = 100;
$this->top_num = 300;
$this->log_res_id = " AND il.log_res_id =" . $this->HT->escape($is_id);
$this->log_action = " AND il.log_action like 'backup_meta_" . $meta_code . "_%'";
return $this->get_list();
@ -258,10 +258,15 @@ class Logs_model extends CI_Model
. " )";
// fix 外部站点调用
$op_code = NULL;
if ($admin_info['OPI_Code']) $op_code = $admin_info['OPI_Code'];
$op_code = null;
if ($admin_info['OPI_Code']) {
$op_code = $admin_info['OPI_Code'];
}
$op_name = 'outside';
if ($admin_info['OPI_Name']) $op_name = $admin_info['OPI_Name'];
if ($admin_info['OPI_Name']) {
$op_name = $admin_info['OPI_Name'];
}
$query = $this->HT->query($sql, array($log_action, $is_id, $log_content, $op_code, $op_name));
$this->insert_id = $this->HT->last_id('infoLogs');

Loading…
Cancel
Save