Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Last-Order committed Sep 30, 2016
1 parent 686550f commit 84a8997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions statistics/Core/Controller/SubmitController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public function submit(){
return;
}

$ip = $_SERVER["REMOTE_ADDR"];

$usetime = intval($_POST['usetime'], 10);
if($usetime <= 0 || $usetime > 3600000){
return $this->ajaxReturn(array(
Expand Down

0 comments on commit 84a8997

Please sign in to comment.