From 2388747fbf954de990862a6c01713d50823e8725 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 24 Aug 2021 11:10:39 +0200 Subject: overhauled testing --- lib/JWebmail/Plugin/I18N.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/JWebmail/Plugin/I18N.pm') 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__ . ']'); -- cgit v1.2.3