diff --git a/upload/source/admincp/admincp_logs.php b/upload/source/admincp/admincp_logs.php index eb32a45..be634bf 100644 --- a/upload/source/admincp/admincp_logs.php +++ b/upload/source/admincp/admincp_logs.php @@ -295,7 +295,7 @@ SEARCH; if(submitcheck('crimesearch', 1)) { include_once libfile('function/member'); - list($count, $clist) = crime('search', $crimeaction, $username, $operator, $startime, $endtime, $keyword, $start, $lpp); + list($count, $clist) = crime('search', $crimeaction, $username, $operator, $starttime, $endtime, $keyword, $start, $lpp); showtablefooter(); showtableheader($lang[members_ban_crime_record], 'fixpadding', '', 5); diff --git a/upload/source/class/class_member.php b/upload/source/class/class_member.php index 8b5b5cf..4b5873d 100644 --- a/upload/source/class/class_member.php +++ b/upload/source/class/class_member.php @@ -990,7 +990,7 @@ class crime_action_ctl { return C::t('common_member_crime')->count_by_uid_action($uid, $key); } - function search($action, $username, $operator, $startime, $endtime, $reason, $start, $limit) { + function search($action, $username, $operator, $starttime, $endtime, $reason, $start, $limit) { $action = intval($action); $operator = daddslashes(trim($operator)); $starttime = $starttime ? strtotime($starttime) : 0; diff --git a/upload/source/function/function_member.php b/upload/source/function/function_member.php index dd0f180..ec7aafc 100644 --- a/upload/source/function/function_member.php +++ b/upload/source/function/function_member.php @@ -249,8 +249,8 @@ function crime($fun) { list(, $uid, $action) = $arg_list; return $crimerecord->$fun($uid, $action); } elseif($fun == 'search') { - list(, $action, $username, $operator, $startime, $endtime, $reason, $start, $limit) = $arg_list; - return $crimerecord->$fun($action, $username, $operator, $startime, $endtime, $reason, $start, $limit); + list(, $action, $username, $operator, $starttime, $endtime, $reason, $start, $limit) = $arg_list; + return $crimerecord->$fun($action, $username, $operator, $starttime, $endtime, $reason, $start, $limit); } elseif($fun == 'actions') { return crime_action_ctl::$actions; }