Skip to content

Firefly III: a personal finances manager

Fix issue with new crud() method.

James Cole719d610be31e
diff --git a/app/Services/Internal/Support/AccountServiceTrait.php b/app/Services/Internal/Support/AccountServiceTrait.php
index 10c4019fda..a5bf55b646 100644
--- a/app/Services/Internal/Support/AccountServiceTrait.php
+++ b/app/Services/Internal/Support/AccountServiceTrait.php
@@ -323,7 +323,7 @@ trait AccountServiceTrait
/** @var AccountMetaFactory $factory */
$factory = app(AccountMetaFactory::class);
foreach ($fields as $field) {
- $factory->crud($account, $field, $data[$field] ?? '');
+ $factory->crud($account, $field, (string)($data[$field] ?? ''));
}
}
diff --git a/config/firefly.php b/config/firefly.php
index 288f8bcf62..d4b52be4a5 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -225,8 +225,10 @@ return [
'languages' => [
// completed languages
'en_US' => ['name_locale' => 'English', 'name_english' => 'English'],
+ 'es_ES' => ['name_locale' => 'Español', 'name_english' => 'Spanish'],
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German'],
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French'],
+ 'id_ID' => ['name_locale' => 'Bahasa Indonesia', 'name_english' => 'Indonesian'],
'it_IT' => ['name_locale' => 'Italiano', 'name_english' => 'Italian'],
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch'],
'pl_PL' => ['name_locale' => 'Polski', 'name_english' => 'Polish '],