Fix bug for dashboard rider #270
This commit is contained in:
parent
9563bd8cb2
commit
a82cfb2691
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class HomeController extends Controller
|
||||||
$rider = $em->getRepository(Rider::class)->find($rider_id);
|
$rider = $em->getRepository(Rider::class)->find($rider_id);
|
||||||
if ($rider == null)
|
if ($rider == null)
|
||||||
{
|
{
|
||||||
unset $riders[$rider_id];
|
unset($riders[$rider_id]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue