diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2021-08-24 11:10:39 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2021-08-24 11:10:39 +0200 |
commit | 2388747fbf954de990862a6c01713d50823e8725 (patch) | |
tree | c3b3a7dc80f1d6a978d25e3048f7a6afb9fa08e0 /lib/JWebmail/Plugin/I18N.pm | |
parent | bf5554febae6f299c716b5a9582c6bfd6980b728 (diff) |
overhauled testing
Diffstat (limited to 'lib/JWebmail/Plugin/I18N.pm')
-rw-r--r-- | lib/JWebmail/Plugin/I18N.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/JWebmail/Plugin/I18N.pm b/lib/JWebmail/Plugin/I18N.pm index 32ac917..6d58932 100644 --- a/lib/JWebmail/Plugin/I18N.pm +++ b/lib/JWebmail/Plugin/I18N.pm @@ -14,6 +14,7 @@ has '_language_loaded' => sub { {} }; sub register { my ($self, $app, $conf) = @_; + $conf //= {}; my $i18n_log = $app->log->context('[' . __PACKAGE__ . ']'); |