Fix bug for dashboard rider #270

This commit is contained in:
Kendrick Chan 2020-01-28 05:55:22 +08:00
parent 9563bd8cb2
commit a82cfb2691

View file

@ -52,7 +52,7 @@ class HomeController extends Controller
$rider = $em->getRepository(Rider::class)->find($rider_id);
if ($rider == null)
{
unset $riders[$rider_id];
unset($riders[$rider_id]);
continue;
}