diff --git a/changelog.txt b/changelog.txt index a7aa94d..a55fef1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.1.23 + - fix fingerprint frontend gui -0.1.22 - fix fingerprint frontend gui -0.1.21 diff --git a/common/config/params.php b/common/config/params.php index c059831..5e7a7d2 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -5,7 +5,7 @@ return [ 'supportEmail' => 'rocho02@gmail.com', 'infoEmail' => 'info@rocho-net.hu', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.1.22', + 'version' => 'v0.1.23', 'company' => 'movar',//gyor 'company_name' => "Freimann Kft.", 'product_visiblity' => 'account',// on reception which products to display. account or global diff --git a/frontend/controllers/FingerprintController.php b/frontend/controllers/FingerprintController.php index c43b18e..adbca3c 100644 --- a/frontend/controllers/FingerprintController.php +++ b/frontend/controllers/FingerprintController.php @@ -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');