diff --git a/hwe/_admin1_submit.php b/hwe/_admin1_submit.php index eef09be8..2ae49504 100644 --- a/hwe/_admin1_submit.php +++ b/hwe/_admin1_submit.php @@ -17,7 +17,7 @@ $v->rule('integer', [ 'minutes2' ])->rule('dateFormat', [ 'starttime' -]); +], 'Y-m-d H:i:s'); if (!$v->validate()) { Error($v->errorStr()); } @@ -117,5 +117,4 @@ switch ($btn) { break; } -//echo ""; -echo '_admin1.php';//TODO:debug all and replace +header('location:_admin1.php'); \ No newline at end of file diff --git a/hwe/index.php b/hwe/index.php index 7192fff4..5a340b70 100644 --- a/hwe/index.php +++ b/hwe/index.php @@ -224,7 +224,7 @@ if ($session->userGrade >= 5) {