Commit ca2a0d68 authored by Andrea Ruggiero's avatar Andrea Ruggiero
Browse files

fix

parent 51c4cafb
Pipeline #1584 failed with stage
in 1 minute and 26 seconds
......@@ -240,6 +240,7 @@ class EventController extends Controller
5 => 4,
6 => 2
];
if ($total[$place["id"]] == 0) return null;
$md5 = md5($place["place"]);
return 'http://185.53.148.21/'.$place["id"].'/'.abs($md5[0] % $total[$place["id"]]).'.jpg';
}
......
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