fix frontend fingerprint gui
This commit is contained in:
parent
42bacacd62
commit
be88169d2d
@ -73,7 +73,7 @@ class FingerprintController extends Controller
|
||||
throw new NotFoundHttpException('Card not found:' . $id_card);
|
||||
}
|
||||
|
||||
$customer = Customer::findOne($card->customer);
|
||||
$customer = Customer::findOne($card->customer->id_customer);
|
||||
|
||||
if (!isset($customer)) {
|
||||
throw new NotFoundHttpException('Customer not found');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user