fixed typo

This commit is contained in:
Cüneyt Şentürk
2021-01-15 12:09:23 +03:00
parent e9bf2b2b77
commit 97e66ca049
6 changed files with 11 additions and 7 deletions

View File

@ -33,8 +33,9 @@ class Currencies extends Controller
$current = Currency::pluck('code')->toArray();
// Prepare codes
$codes = array();
$codes = [];
$currencies = MoneyCurrency::getCurrencies();
foreach ($currencies as $key => $item) {
// Don't show if already available
if (in_array($key, $current)) {