修复 变量名

This commit is contained in:
Comsenz 2017-07-28 09:31:36 +08:00
parent 89bc5727f1
commit 7f0bf51123
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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;
}