Commit 5d82c439 authored by Reko Meriö's avatar Reko Meriö

Merge remote-tracking branch 'origin/dev_g2700_2' into dev_reko

parents 09cd6b15 9ba5a04d
......@@ -47,7 +47,7 @@ class LocationController extends Controller
public function pullclothes(Request $request){
$age = $request->input('age');
$temperature = $request->input('temperature');
if(!empty($request->input('gender'))){
if(!empty($request->input('gender')) && $age >= 18 && $age <= 70){
$gender = $request->input('gender');
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment