From 1ce5a957f95d7c9fcb91a214da35e5e586073eb3 Mon Sep 17 00:00:00 2001 From: jitendra Date: Tue, 26 Feb 2019 18:45:55 +0530 Subject: [PATCH] convert price function issue fixed --- packages/Webkul/Core/src/Core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Core/src/Core.php b/packages/Webkul/Core/src/Core.php index d82f557ef..e19d3d6e6 100755 --- a/packages/Webkul/Core/src/Core.php +++ b/packages/Webkul/Core/src/Core.php @@ -327,7 +327,7 @@ class Core { $targetCurrency = !$targetCurrencyCode ? $this->getCurrentCurrency() - : $this->currencyRepository->findByField('code', $targetCurrencyCode); + : $this->currencyRepository->findOneByField('code', $targetCurrencyCode); if (! $targetCurrency) return $amount;